diff options
Diffstat (limited to 'odb/sqlite/statement-cache.cxx')
-rw-r--r-- | odb/sqlite/statement-cache.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/sqlite/statement-cache.cxx b/odb/sqlite/statement-cache.cxx index 66ef266..383a78e 100644 --- a/odb/sqlite/statement-cache.cxx +++ b/odb/sqlite/statement-cache.cxx @@ -21,6 +21,9 @@ namespace odb commit_ (new (shared) simple_statement (conn, "COMMIT", 7)), rollback_ (new (shared) simple_statement (conn, "ROLLBACK", 9)) { + rollback_->cached (true); + commit_->cached (true); + begin_->cached (true); } } } |