From d44d7c96d38453d5a971b813be4c6635bf0b38fb Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 17 Nov 2014 13:35:21 +0200 Subject: Implement bulk database operation support for Oracle and SQL Server --- odb/mysql/exceptions.cxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'odb/mysql/exceptions.cxx') 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); + } } } -- cgit v1.1