diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-12 10:46:55 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-12 10:46:55 +0200 |
commit | df1fdb4f500308adf2fff1a08b2ef62bf5a88de7 (patch) | |
tree | 1a014a6207bba19a58a8b574c6bb00b881585d13 /odb/mssql/exceptions.cxx | |
parent | bbb153b9e576cdfdb59711f68d7f26a427a55041 (diff) |
Detect and throw when object/view with long data is re-loaded from query result
Diffstat (limited to 'odb/mssql/exceptions.cxx')
-rw-r--r-- | odb/mssql/exceptions.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/odb/mssql/exceptions.cxx b/odb/mssql/exceptions.cxx index 1b415a7..f14fc59 100644 --- a/odb/mssql/exceptions.cxx +++ b/odb/mssql/exceptions.cxx @@ -78,5 +78,16 @@ namespace odb { return what_.c_str (); } + + // + // long_data_reload + // + + const char* long_data_reload:: + what () const throw () + { + return "attempt to re-load object or view with long data " + "from query result"; + } } } |