diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-17 09:08:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-25 06:44:31 +0200 |
commit | 2db43d4c2f2bed0348d781367090e633ad02779f (patch) | |
tree | c966a8dfb7855866e7bc89e6d4ef9c5c5fb3560c /odb/pgsql/exceptions.cxx | |
parent | 6323bca38688f0f5be72481fb146313d2fc5fe78 (diff) |
Implement bulk database operation support for Oracle and SQL Server
Diffstat (limited to 'odb/pgsql/exceptions.cxx')
-rw-r--r-- | odb/pgsql/exceptions.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/odb/pgsql/exceptions.cxx b/odb/pgsql/exceptions.cxx index 23a47cb..f4ac22a 100644 --- a/odb/pgsql/exceptions.cxx +++ b/odb/pgsql/exceptions.cxx @@ -41,6 +41,12 @@ namespace odb return what_.c_str (); } + database_exception* database_exception:: + clone () const + { + return new database_exception (*this); + } + // // cli_exception // @@ -61,5 +67,11 @@ namespace odb { return what_.c_str (); } + + cli_exception* cli_exception:: + clone () const + { + return new cli_exception (*this); + } } } |