aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/exceptions.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-11-17 13:35:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-11-25 06:43:14 +0200
commitd44d7c96d38453d5a971b813be4c6635bf0b38fb (patch)
tree3d3d0803f4ae707cf8926ce134ace4a35c08a8f5 /odb/mysql/exceptions.hxx
parentf5826c7da4cc11d46a34e4a5e435cff2730c7263 (diff)
Implement bulk database operation support for Oracle and SQL Server
Diffstat (limited to 'odb/mysql/exceptions.hxx')
-rw-r--r--odb/mysql/exceptions.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/mysql/exceptions.hxx b/odb/mysql/exceptions.hxx
index 824f678..ea4e493 100644
--- a/odb/mysql/exceptions.hxx
+++ b/odb/mysql/exceptions.hxx
@@ -49,6 +49,9 @@ namespace odb
virtual const char*
what () const throw ();
+ virtual database_exception*
+ clone () const;
+
private:
unsigned int error_;
std::string sqlstate_;
@@ -64,6 +67,9 @@ namespace odb
virtual const char*
what () const throw ();
+ virtual cli_exception*
+ clone () const;
+
private:
std::string what_;
};