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
commitbac96d1b62dde949412a998cb0c3231ad179d870 (patch)
treeea7a72996c508d2c62104fe3ce523453b8f57d6b /libpqpp/pq-cursorselectcommand.h
parentOnly set unlogged for mocked tables on server versions 9.5 and above (diff)
downloadlibdbpp-postgresql-bac96d1b62dde949412a998cb0c3231ad179d870.tar.bz2
libdbpp-postgresql-bac96d1b62dde949412a998cb0c3231ad179d870.tar.xz
libdbpp-postgresql-bac96d1b62dde949412a998cb0c3231ad179d870.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();