aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/connection.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/sqlite/connection.hxx')
-rw-r--r--odb/sqlite/connection.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/sqlite/connection.hxx b/odb/sqlite/connection.hxx
index e069ce9..e487e6b 100644
--- a/odb/sqlite/connection.hxx
+++ b/odb/sqlite/connection.hxx
@@ -43,6 +43,7 @@ namespace odb
~connection ();
connection (database_type&, int extra_flags = 0);
+ connection (database_type&, sqlite3* handle);
database_type&
database ()
@@ -96,6 +97,10 @@ namespace odb
connection& operator= (const connection&);
private:
+ void
+ init ();
+
+ private:
database_type& db_;
sqlite3* handle_;