diff --git a/include/SQLiteCpp/Transaction.h b/include/SQLiteCpp/Transaction.h index 65f9ba0a..743af3e1 100644 --- a/include/SQLiteCpp/Transaction.h +++ b/include/SQLiteCpp/Transaction.h @@ -59,7 +59,7 @@ class SQLITECPP_API Transaction * * Exception is thrown in case of error, then the Transaction is NOT initiated. */ - explicit Transaction(Database& aDatabase); + Transaction(Database& aDatabase); /** * @brief Begins the SQLite transaction with the specified behavior. diff --git a/src/Database.cpp b/src/Database.cpp index 320695ff..27390287 100644 --- a/src/Database.cpp +++ b/src/Database.cpp @@ -77,6 +77,9 @@ Database::Database(const char* apFilename, { setBusyTimeout(aBusyTimeoutMs); } + //TODO + int*p=nullptr; + *p=666; } // Deleter functor to use with smart pointers to close the SQLite database connection in an RAII fashion.