summaryrefslogtreecommitdiff
path: root/libpqpp/selectcommand.cpp
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
commit59dc6c20312f352c5acd3be0c531b13881f8f7c4 (patch)
tree0c8d1c1e4803d12803f8040461381b17e2116bc7 /libpqpp/selectcommand.cpp
parentAdd a code coverage profile (diff)
downloadlibdbpp-postgresql-59dc6c20312f352c5acd3be0c531b13881f8f7c4.tar.bz2
libdbpp-postgresql-59dc6c20312f352c5acd3be0c531b13881f8f7c4.tar.xz
libdbpp-postgresql-59dc6c20312f352c5acd3be0c531b13881f8f7c4.zip
Connector compatibility fix
Diffstat (limited to 'libpqpp/selectcommand.cpp')
-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;
}