summaryrefslogtreecommitdiff
path: root/libpqpp/pq-column.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-04-24 14:34:16 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2016-04-24 14:40:20 +0100
commiteab3a1beba707e9f531a250a5c74a6ba462aa4fc (patch)
tree0bac5aa1211d282f996d2b9bf3b72d81717df5e9 /libpqpp/pq-column.cpp
parentDon't attempt to close cursors when in failed transaction (it's failed and re... (diff)
downloadlibdbpp-postgresql-eab3a1beba707e9f531a250a5c74a6ba462aa4fc.tar.bz2
libdbpp-postgresql-eab3a1beba707e9f531a250a5c74a6ba462aa4fc.tar.xz
libdbpp-postgresql-eab3a1beba707e9f531a250a5c74a6ba462aa4fc.zip
Rename SelectCommand to CursorSelectCommand
Diffstat (limited to 'libpqpp/pq-column.cpp')
-rw-r--r--libpqpp/pq-column.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpqpp/pq-column.cpp b/libpqpp/pq-column.cpp
index 6b949d4..31a3d9b 100644
--- a/libpqpp/pq-column.cpp
+++ b/libpqpp/pq-column.cpp
@@ -1,10 +1,10 @@
#include "pq-column.h"
-#include "pq-selectcommand.h"
+#include "pq-cursorselectcommand.h"
#include "pq-error.h"
#include <string.h>
#include <boost/date_time/posix_time/posix_time.hpp>
-PQ::Column::Column(const SelectCommand * s, unsigned int i) :
+PQ::Column::Column(const CursorSelectCommand * s, unsigned int i) :
DB::Column(PQfname(s->execRes, i), i),
sc(s),
oid(PQftype(sc->execRes, colNo))