diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-05-19 17:23:54 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-05-19 17:23:54 +0200 |
commit | 3c9c10f340a3013e5d67e5cac9b89990cf567538 (patch) | |
tree | 5436bd0392e368670e22fd15a9de134fd608d542 /odb/pgsql/statement.hxx | |
parent | d710fb34d676d111ae230bac16dc37e2e6e052ee (diff) |
Aesthetic changes and small corrections/re-factorings
Diffstat (limited to 'odb/pgsql/statement.hxx')
-rw-r--r-- | odb/pgsql/statement.hxx | 12 |
1 files changed, 4 insertions, 8 deletions
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 |