From 3c9c10f340a3013e5d67e5cac9b89990cf567538 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Thu, 19 May 2011 17:23:54 +0200 Subject: Aesthetic changes and small corrections/re-factorings --- odb/pgsql/statement.hxx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'odb/pgsql/statement.hxx') diff --git a/odb/pgsql/statement.hxx b/odb/pgsql/statement.hxx index 17d4930..0315f05 100644 --- a/odb/pgsql/statement.hxx +++ b/odb/pgsql/statement.hxx @@ -37,15 +37,11 @@ namespace odb const std::string& name, const std::string& stmt, const Oid* types, - std::size_t n); + std::size_t types_count); protected: connection& conn_; std::string name_; - - private: - void - release (); }; class LIBODB_PGSQL_EXPORT insert_statement: public statement @@ -58,7 +54,7 @@ namespace odb const std::string& name, const std::string& stmt, const Oid* types, - std::size_t n, + std::size_t types_count, native_binding& data); // Return true if successful and false if the row is a duplicate. @@ -93,7 +89,7 @@ namespace odb const std::string& name, const std::string& stmt, const Oid* types, - std::size_t n, + std::size_t types_count, native_binding& cond, native_binding& data); void @@ -118,7 +114,7 @@ namespace odb const std::string& name, const std::string& stmt, const Oid* types, - std::size_t n, + std::size_t types_count, native_binding& cond); unsigned long long -- cgit v1.1