diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-14 16:24:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-14 16:24:50 +0200 |
commit | 0ca6d442fcf7e7493a742aab1171e624ac8ee6d7 (patch) | |
tree | 4d9b6ce145731389f7be6f2b915bd872268b0d87 | |
parent | c5a343056110b23cee3f4a1dd109bd0c66f65e14 (diff) |
Old interface compatibility and testing fixes
Now all tests pass for both Oracle and SQL Server.
-rw-r--r-- | odb/qt/date-time/exceptions.cxx | 6 | ||||
-rw-r--r-- | odb/qt/date-time/exceptions.hxx | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/odb/qt/date-time/exceptions.cxx b/odb/qt/date-time/exceptions.cxx index 2e35936..e745aa7 100644 --- a/odb/qt/date-time/exceptions.cxx +++ b/odb/qt/date-time/exceptions.cxx @@ -15,6 +15,12 @@ namespace odb { return "date/time value out of range"; } + + value_out_of_range* value_out_of_range:: + clone () const + { + return new value_out_of_range (*this); + } } } } diff --git a/odb/qt/date-time/exceptions.hxx b/odb/qt/date-time/exceptions.hxx index bdbc590..70b8181 100644 --- a/odb/qt/date-time/exceptions.hxx +++ b/odb/qt/date-time/exceptions.hxx @@ -20,6 +20,9 @@ namespace odb { virtual const char* what () const throw (); + + virtual value_out_of_range* + clone () const; }; } } |