From d97b78e6d6978e9e288f1269f54bc820e378868f Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 25 Mar 2010 09:25:59 +0100 Subject: fixed finalizing of prepared statements in destructor of connection added a trace() method to get the tracing status --- include/sqlite3xx/connection.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 ); -- cgit v1.2.3-54-g00ecf