diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-06 14:57:40 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-06 14:57:40 +0200 |
commit | 7d3f2b0badf4298bca53936d22a0a22c74538713 (patch) | |
tree | 9eac746a0634c1b854507d55fc792fa61a7009ce /odb/sqlite/statement.hxx | |
parent | 4ee004a6de190316d5ff2fb8bfe0f28b33d74e7f (diff) |
Allow select statement without parameters
Diffstat (limited to 'odb/sqlite/statement.hxx')
-rw-r--r-- | odb/sqlite/statement.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/odb/sqlite/statement.hxx b/odb/sqlite/statement.hxx index 1d48cd4..69f5a95 100644 --- a/odb/sqlite/statement.hxx +++ b/odb/sqlite/statement.hxx @@ -216,6 +216,10 @@ namespace odb binding& cond, binding& data); + select_statement (connection& conn, + const std::string& statement, + binding& data); + // Common select interface expected by the generated code. // public: @@ -273,7 +277,7 @@ namespace odb private: bool done_; - binding& cond_; + binding* cond_; binding& data_; }; |