From 9758d7cdc98f0d948581fb5630c33e98e4b52855 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 6 Jan 2017 02:11:57 +0000 Subject: Use SQL hash for prepared statement names, increases reuse and avoids random reuse --- libpqpp/pq-bulkselectcommand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpqpp/pq-bulkselectcommand.h') diff --git a/libpqpp/pq-bulkselectcommand.h b/libpqpp/pq-bulkselectcommand.h index a54a5a4..9b76c4d 100644 --- a/libpqpp/pq-bulkselectcommand.h +++ b/libpqpp/pq-bulkselectcommand.h @@ -11,7 +11,7 @@ namespace PQ { class Column; class BulkSelectCommand : public SelectBase, public PreparedStatement { public: - BulkSelectCommand(Connection *, const std::string & sql, unsigned int no, const DB::CommandOptions *); + BulkSelectCommand(Connection *, const std::string & sql, const DB::CommandOptions *); bool fetch() override; void execute() override; -- cgit v1.2.3