aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-11-14 16:24:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-11-14 16:24:50 +0200
commit1dc0c8b8afd298c913c8d579b8a87f86d0cf4b55 (patch)
tree5485634b1704b01f5e21f98f071d0e70de8b365d
parent3afd0ae312029464ccea86f112d2d65fb858029d (diff)
Old interface compatibility and testing fixes
Now all tests pass for both Oracle and SQL Server.
-rw-r--r--odb/database.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/database.txx b/odb/database.txx
index 7683d50..7e2154f 100644
--- a/odb/database.txx
+++ b/odb/database.txx
@@ -80,7 +80,7 @@ namespace odb
typedef typename object_traits<T>::object_type object_type;
typedef object_traits_impl<object_type, DB> object_traits;
- multiple_exceptions mex;
+ multiple_exceptions mex (typeid (object_already_persistent));
try
{
while (b != e)