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