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 | 3a994c6e794446bada08a98f75fbfd32825755bf (patch) | |
tree | 95bfc5f797df0235d639c150a18799a711874cce /libpqpp | |
parent | Add a code coverage profile (diff) | |
download | libdbpp-postgresql-3a994c6e794446bada08a98f75fbfd32825755bf.tar.bz2 libdbpp-postgresql-3a994c6e794446bada08a98f75fbfd32825755bf.tar.xz libdbpp-postgresql-3a994c6e794446bada08a98f75fbfd32825755bf.zip |
Connector compatibility fix
Diffstat (limited to 'libpqpp')
-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; } |