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
commit5886b037ecf017819406a11588b627d16e01e38f (patch)
treeb73b1c435436e039c4f3eb402a78382c629920ed /libpqpp/pq-column.cpp
parentRename SelectCommand to CursorSelectCommand (diff)
downloadlibdbpp-postgresql-5886b037ecf017819406a11588b627d16e01e38f.tar.bz2
libdbpp-postgresql-5886b037ecf017819406a11588b627d16e01e38f.tar.xz
libdbpp-postgresql-5886b037ecf017819406a11588b627d16e01e38f.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))