diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2010-03-25 09:25:59 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2010-03-25 09:25:59 +0100 |
commit | d97b78e6d6978e9e288f1269f54bc820e378868f (patch) | |
tree | 086c38feef9e432c4ec79c070b9f576490ccb781 /include | |
parent | 44e6b7e472c31f214ed41833621e65acebd8375a (diff) | |
download | sqlitexx-d97b78e6d6978e9e288f1269f54bc820e378868f.tar.gz sqlitexx-d97b78e6d6978e9e288f1269f54bc820e378868f.tar.bz2 |
fixed finalizing of prepared statements in destructor of connection
added a trace() method to get the tracing status
Diffstat (limited to 'include')
-rw-r--r-- | include/sqlite3xx/connection.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sqlite3xx/connection.hpp b/include/sqlite3xx/connection.hpp index ab1fa70..0d95a7e 100644 --- a/include/sqlite3xx/connection.hpp +++ b/include/sqlite3xx/connection.hpp @@ -62,6 +62,7 @@ class SQLITEXX_LIBEXPORT connection { ~connection( ); void trace( bool __trace ); + bool trace( ) { return _trace; } result exec( string sql ); result prepared_exec( const string& name ); |