From 6ba692aabf2afae6dab83139ca5e219bfc614890 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 17 Nov 2014 13:34:17 +0200 Subject: Implement bulk database operation support for Oracle and SQL Server --- odb/sqlite/exceptions.cxx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'odb/sqlite/exceptions.cxx') diff --git a/odb/sqlite/exceptions.cxx b/odb/sqlite/exceptions.cxx index 08cdf90..ece5def 100644 --- a/odb/sqlite/exceptions.cxx +++ b/odb/sqlite/exceptions.cxx @@ -22,6 +22,12 @@ namespace odb return "transaction is forced to rollback"; } + forced_rollback* forced_rollback:: + clone () const + { + return new forced_rollback (*this); + } + // // database_exception // @@ -51,6 +57,12 @@ namespace odb return what_.c_str (); } + database_exception* database_exception:: + clone () const + { + return new database_exception (*this); + } + // // cli_exception // @@ -71,5 +83,11 @@ namespace odb { return what_.c_str (); } + + cli_exception* cli_exception:: + clone () const + { + return new cli_exception (*this); + } } } -- cgit v1.1