From d94948b8bccfd8748245726487d54c41bb199baf Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 12 Oct 2012 17:24:44 +0200 Subject: Completion of prepared query support --- odb/sqlite/query.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'odb/sqlite/query.cxx') diff --git a/odb/sqlite/query.cxx b/odb/sqlite/query.cxx index f6a4dc1..2a1c203 100644 --- a/odb/sqlite/query.cxx +++ b/odb/sqlite/query.cxx @@ -96,7 +96,6 @@ namespace odb init () { bool inc_ver (false); - sqlite::bind* b (&bind_[0]); for (size_t i (0); i < params_.size (); ++i) { @@ -106,7 +105,7 @@ namespace odb { if (p.init ()) { - p.bind (b + i); + p.bind (&bind_[i]); inc_ver = true; } } -- cgit v1.1