summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-22 23:24:35 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-22 23:24:35 +0100
commit3a994c6e794446bada08a98f75fbfd32825755bf (patch)
tree95bfc5f797df0235d639c150a18799a711874cce
parentAdd a code coverage profile (diff)
downloadlibdbpp-postgresql-3a994c6e794446bada08a98f75fbfd32825755bf.tar.bz2
libdbpp-postgresql-3a994c6e794446bada08a98f75fbfd32825755bf.tar.xz
libdbpp-postgresql-3a994c6e794446bada08a98f75fbfd32825755bf.zip
Connector compatibility fix
-rw-r--r--libpqpp/selectcommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/selectcommand.cpp b/libpqpp/selectcommand.cpp
index afb8c1b..8e3ec36 100644
--- a/libpqpp/selectcommand.cpp
+++ b/libpqpp/selectcommand.cpp
@@ -89,7 +89,7 @@ PQ::SelectCommand::execute()
fetchTuples();
unsigned int nFields = PQnfields(execRes);
for (unsigned int f = 0; f < nFields; f += 1) {
- columns.insert(DB::ColumnPtr(new Column(this, f)));
+ insertColumn(DB::ColumnPtr(new Column(this, f)));
}
executed = true;
}