diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-22 23:24:35 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-22 23:24:35 +0100 |
commit | 59dc6c20312f352c5acd3be0c531b13881f8f7c4 (patch) | |
tree | 0c8d1c1e4803d12803f8040461381b17e2116bc7 /libpqpp/selectcommand.cpp | |
parent | Add a code coverage profile (diff) | |
download | libdbpp-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.cpp | 2 |
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; } |