From b3a299fbbd80e69554b37d0ae30cf2c45a98d1a6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 Oct 2013 08:29:06 +0200 Subject: Add support for SQLite 3.3.6 That's what is still shipped with RHEL5. --- odb/sqlite/statement.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'odb/sqlite/statement.hxx') 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 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 () { -- cgit v1.1