From 56de3f5f9768396525669af327fd00d36e621ada Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 24 Apr 2016 18:48:23 +0100 Subject: Use prepared statements for bulk selects --- libpqpp/pq-bulkselectcommand.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libpqpp/pq-bulkselectcommand.h') diff --git a/libpqpp/pq-bulkselectcommand.h b/libpqpp/pq-bulkselectcommand.h index aeda42d..58b01aa 100644 --- a/libpqpp/pq-bulkselectcommand.h +++ b/libpqpp/pq-bulkselectcommand.h @@ -3,14 +3,14 @@ #include #include "pq-selectbase.h" -#include "pq-command.h" +#include "pq-prepared.h" #include #include namespace PQ { class Connection; class Column; - class BulkSelectCommand : public DB::SelectCommand, public SelectBase, public Command { + class BulkSelectCommand : public DB::SelectCommand, public SelectBase, public PreparedStatement { public: BulkSelectCommand(Connection *, const std::string & sql, unsigned int no); virtual ~BulkSelectCommand(); @@ -20,7 +20,6 @@ namespace PQ { private: mutable bool executed; - std::string preparedSql; }; } -- cgit v1.2.3