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.hxx | |
parent | bbb153b9e576cdfdb59711f68d7f26a427a55041 (diff) |
Detect and throw when object/view with long data is re-loaded from query result
Diffstat (limited to 'odb/mssql/exceptions.hxx')
-rw-r--r-- | odb/mssql/exceptions.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/mssql/exceptions.hxx b/odb/mssql/exceptions.hxx index 3e7a845..b31a83d 100644 --- a/odb/mssql/exceptions.hxx +++ b/odb/mssql/exceptions.hxx @@ -108,6 +108,12 @@ namespace odb private: std::string what_; }; + + struct LIBODB_MSSQL_EXPORT long_data_reload: odb::exception + { + virtual const char* + what () const throw (); + }; } } |