diff options
Diffstat (limited to 'odb/oracle')
-rw-r--r-- | odb/oracle/oracle-types.hxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/odb/oracle/oracle-types.hxx b/odb/oracle/oracle-types.hxx index 5e08a87..802f535 100644 --- a/odb/oracle/oracle-types.hxx +++ b/odb/oracle/oracle-types.hxx @@ -214,8 +214,16 @@ namespace odb unsigned short flags; public: - datetime (unsigned short f = descriptor_cache | descriptor_free) - : descriptor (0), flags (f) + datetime (unsigned short f = descriptor_cache | descriptor_free): + descriptor (0), + flags (f), + year_ (1), + month_ (1), + day_ (1), + hour_ (0), + minute_ (0), + second_ (0), + nanosecond_ (0) { } |