summaryrefslogtreecommitdiff
path: root/libpqpp/pq-column.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-04-24 15:43:07 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2016-04-24 15:43:07 +0100
commit2798caa6c8737c4d745ccfa69bd291689ddf4a93 (patch)
treed4f937ac2495e386a1c9b104fc3b13781381bcb5 /libpqpp/pq-column.cpp
parentRename SelectCommand to CursorSelectCommand (diff)
downloadlibdbpp-postgresql-2798caa6c8737c4d745ccfa69bd291689ddf4a93.tar.bz2
libdbpp-postgresql-2798caa6c8737c4d745ccfa69bd291689ddf4a93.tar.xz
libdbpp-postgresql-2798caa6c8737c4d745ccfa69bd291689ddf4a93.zip
Introduce select base for different kinds of select
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 31a3d9b..a073f26 100644
--- a/libpqpp/pq-column.cpp
+++ b/libpqpp/pq-column.cpp
@@ -1,10 +1,10 @@
#include "pq-column.h"
-#include "pq-cursorselectcommand.h"
+#include "pq-selectbase.h"
#include "pq-error.h"
#include <string.h>
#include <boost/date_time/posix_time/posix_time.hpp>
-PQ::Column::Column(const CursorSelectCommand * s, unsigned int i) :
+PQ::Column::Column(const SelectBase * s, unsigned int i) :
DB::Column(PQfname(s->execRes, i), i),
sc(s),
oid(PQftype(sc->execRes, colNo))