aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/connection.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-11-07 15:00:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-07 15:00:06 +0200
commit0a71eaad620be004e7e28e7d3265a373dcd92395 (patch)
tree66adb95b0a79c376a3380182cd28601901dd741f /odb/sqlite/connection.cxx
parent3c150763bc946bebe2eb5a2e487a28cf25f2e449 (diff)
Add support for SQL statement tracing
Diffstat (limited to 'odb/sqlite/connection.cxx')
-rw-r--r--odb/sqlite/connection.cxx4
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 ();
}