summaryrefslogtreecommitdiff
path: root/libpqpp/pq-cursorselectcommand.h
diff options
context:
space:
mode:
authorDan Goodliffe <daniel.goodliffe@pressassociation.com>2017-01-03 15:03:05 +0000
committerDan Goodliffe <daniel.goodliffe@pressassociation.com>2017-01-03 15:16:54 +0000
commit40772ae759fe26acc69bebefa0eda173dbd981e4 (patch)
tree7afa52df382f8e8ee091dbb7acafee175403c9fb /libpqpp/pq-cursorselectcommand.h
parentOnly set unlogged for mocked tables on server versions 9.5 and above (diff)
downloadlibdbpp-postgresql-40772ae759fe26acc69bebefa0eda173dbd981e4.tar.bz2
libdbpp-postgresql-40772ae759fe26acc69bebefa0eda173dbd981e4.tar.xz
libdbpp-postgresql-40772ae759fe26acc69bebefa0eda173dbd981e4.zip
Refactor to remove some duplication
Diffstat (limited to 'libpqpp/pq-cursorselectcommand.h')
-rw-r--r--libpqpp/pq-cursorselectcommand.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libpqpp/pq-cursorselectcommand.h b/libpqpp/pq-cursorselectcommand.h
index 6182d3f..9766f86 100644
--- a/libpqpp/pq-cursorselectcommand.h
+++ b/libpqpp/pq-cursorselectcommand.h
@@ -1,7 +1,6 @@
#ifndef PQ_CURSORSELECTCOMMAND_H
#define PQ_CURSORSELECTCOMMAND_H
-#include <selectcommand.h>
#include "pq-selectbase.h"
#include "pq-command.h"
#include <vector>
@@ -10,7 +9,7 @@
namespace PQ {
class Connection;
class Column;
- class CursorSelectCommand : public DB::SelectCommand, public SelectBase, public Command {
+ class CursorSelectCommand : public SelectBase, public Command {
public:
CursorSelectCommand(Connection *, const std::string & sql, unsigned int no);
virtual ~CursorSelectCommand();