From 3a994c6e794446bada08a98f75fbfd32825755bf Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 22 Sep 2015 23:24:35 +0100 Subject: Connector compatibility fix --- libpqpp/selectcommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpqpp') 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; } -- cgit v1.2.3