aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/statement.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-10-02 08:29:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-10-02 08:29:06 +0200
commitb3a299fbbd80e69554b37d0ae30cf2c45a98d1a6 (patch)
tree89055429d81c77fd6104fc07fa854f734657a408 /odb/sqlite/statement.hxx
parent29b45e1658840b0ce5f67529b46cad5d595433c4 (diff)
Add support for SQLite 3.3.6
That's what is still shipped with RHEL5.
Diffstat (limited to 'odb/sqlite/statement.hxx')
-rw-r--r--odb/sqlite/statement.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/odb/sqlite/statement.hxx b/odb/sqlite/statement.hxx
index eb55e58..ccb4762 100644
--- a/odb/sqlite/statement.hxx
+++ b/odb/sqlite/statement.hxx
@@ -124,6 +124,10 @@ namespace odb
connection_type& conn_;
auto_handle<sqlite3_stmt> stmt_;
+#if SQLITE_VERSION_NUMBER < 3005003
+ std::string text_;
+#endif
+
bool active_;
private:
@@ -132,7 +136,7 @@ namespace odb
// Doubly-linked list of active statements.
//
- private:
+ protected:
void
list_add ()
{