aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/exceptions.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-08-14 09:37:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-11-11 10:29:48 +0200
commit7684cb0fa99f1a20130870ce2d092f3d2df18dcf (patch)
tree7860c32b60f76708b3d377996502b4d0d0766419 /odb/mssql/exceptions.cxx
parent05ff680189f689d5bf82cd514e9d650c59aaf3da (diff)
Draft implementation for INSERT
Diffstat (limited to 'odb/mssql/exceptions.cxx')
-rw-r--r--odb/mssql/exceptions.cxx18
1 files changed, 18 insertions, 0 deletions
diff --git a/odb/mssql/exceptions.cxx b/odb/mssql/exceptions.cxx
index 33aaba4..44cdf2e 100644
--- a/odb/mssql/exceptions.cxx
+++ b/odb/mssql/exceptions.cxx
@@ -57,6 +57,12 @@ namespace odb
return what_.c_str ();
}
+ database_exception* database_exception::
+ clone () const
+ {
+ return new database_exception (*this);
+ }
+
//
// cli_exception
//
@@ -78,6 +84,12 @@ namespace odb
return what_.c_str ();
}
+ cli_exception* cli_exception::
+ clone () const
+ {
+ return new cli_exception (*this);
+ }
+
//
// long_data_reload
//
@@ -88,5 +100,11 @@ namespace odb
return "attempt to re-load object or view with long data "
"from query result";
}
+
+ long_data_reload* long_data_reload::
+ clone () const
+ {
+ return new long_data_reload (*this);
+ }
}
}