diff options
Diffstat (limited to 'odb/sqlite/connection.cxx')
-rw-r--r-- | odb/sqlite/connection.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/sqlite/connection.cxx b/odb/sqlite/connection.cxx index 7b16547..f9753be 100644 --- a/odb/sqlite/connection.cxx +++ b/odb/sqlite/connection.cxx @@ -80,7 +80,7 @@ namespace odb { // Enable/disable foreign key constraints. // - simple_statement st ( + generic_statement st ( *this, db_.foreign_keys () ? "PRAGMA foreign_keys=ON" @@ -122,7 +122,7 @@ namespace odb unsigned long long connection:: execute (const char* s, std::size_t n) { - simple_statement st (*this, s, n); + generic_statement st (*this, s, n); return st.execute (); } |