From 45539255f18a15c777627c5edcd90aa4dbdf08fc Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Tue, 31 May 2011 16:33:49 +0200 Subject: Correct statement --- odb/pgsql/statement.hxx | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'odb/pgsql/statement.hxx') diff --git a/odb/pgsql/statement.hxx b/odb/pgsql/statement.hxx index 3ed8116..8134862 100644 --- a/odb/pgsql/statement.hxx +++ b/odb/pgsql/statement.hxx @@ -18,7 +18,6 @@ #include #include #include -#include #include @@ -34,17 +33,11 @@ namespace odb virtual ~statement () = 0; - // @@ Check section 30.5 of manual for description of - // how to cancel queries in progress. - // - // virtual void - // cancel (); - protected: statement (connection&, const std::string& name, const std::string& stmt, - const oid* types, + const Oid* types, std::size_t types_count); protected: @@ -80,7 +73,7 @@ namespace odb select_statement (connection& conn, const std::string& name, const std::string& stmt, - const oid* types, + const Oid* types, std::size_t types_count, binding& cond, native_binding& native_cond, @@ -138,7 +131,7 @@ namespace odb insert_statement (connection& conn, const std::string& name, const std::string& stmt, - const oid* types, + const Oid* types, std::size_t types_count, binding& data, native_binding& native_data); @@ -179,7 +172,7 @@ namespace odb update_statement (connection& conn, const std::string& name, const std::string& stmt, - const oid* types, + const Oid* types, std::size_t types_count, binding& cond, native_binding& native_cond, @@ -210,7 +203,7 @@ namespace odb delete_statement (connection& conn, const std::string& name, const std::string& stmt, - const oid* types, + const Oid* types, std::size_t types_count, binding& cond, native_binding& native_cond); -- cgit v1.1