diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-17 13:35:21 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-25 06:43:14 +0200 |
commit | d44d7c96d38453d5a971b813be4c6635bf0b38fb (patch) | |
tree | 3d3d0803f4ae707cf8926ce134ace4a35c08a8f5 /odb/mysql/exceptions.cxx | |
parent | f5826c7da4cc11d46a34e4a5e435cff2730c7263 (diff) |
Implement bulk database operation support for Oracle and SQL Server
Diffstat (limited to 'odb/mysql/exceptions.cxx')
-rw-r--r-- | odb/mysql/exceptions.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/odb/mysql/exceptions.cxx b/odb/mysql/exceptions.cxx index ddf5ce8..8e2375a 100644 --- a/odb/mysql/exceptions.cxx +++ b/odb/mysql/exceptions.cxx @@ -36,6 +36,12 @@ namespace odb return what_.c_str (); } + database_exception* database_exception:: + clone () const + { + return new database_exception (*this); + } + // // cli_exception // @@ -56,5 +62,11 @@ namespace odb { return what_.c_str (); } + + cli_exception* cli_exception:: + clone () const + { + return new cli_exception (*this); + } } } |