diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-11-15 11:33:52 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-11-16 12:48:18 +0200 |
commit | 7f348b4e2874d7aa39fbf093e56323f6e73ca052 (patch) | |
tree | d569a52449818242099aef9b15090028250f83f4 /odb/oracle/oracle-types.hxx | |
parent | d45a104481288b37b6060a4d5140d0296a82b4e6 (diff) |
Interpret NULL bind::indicator pointer as a non-NULL value indicator
Diffstat (limited to 'odb/oracle/oracle-types.hxx')
-rw-r--r-- | odb/oracle/oracle-types.hxx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/odb/oracle/oracle-types.hxx b/odb/oracle/oracle-types.hxx index 802f535..5e08a87 100644 --- a/odb/oracle/oracle-types.hxx +++ b/odb/oracle/oracle-types.hxx @@ -214,16 +214,8 @@ namespace odb unsigned short flags; public: - 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) + datetime (unsigned short f = descriptor_cache | descriptor_free) + : descriptor (0), flags (f) { } |