summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2014-01-10 21:37:46 +0000
committerrandomdan <randomdan@localhost>2014-01-10 21:37:46 +0000
commitc8bdcc9bac7f0d9f8a5b3b4fd544e5fbe6a9d668 (patch)
treeb26e55d1551787e928a80c4e454d8d6da3eda144
parentFix slice scanner and split .ice files back into logical blocks (diff)
downloadlibdbpp-postgresql-c8bdcc9bac7f0d9f8a5b3b4fd544e5fbe6a9d668.tar.bz2
libdbpp-postgresql-c8bdcc9bac7f0d9f8a5b3b4fd544e5fbe6a9d668.tar.xz
libdbpp-postgresql-c8bdcc9bac7f0d9f8a5b3b4fd544e5fbe6a9d668.zip
Improvements to popenrw and add popenrwe for the stderr pipe too
Improve exception when loading a library fails Fix a handful of ingeniously located memory leaks
-rw-r--r--libpqpp/selectcommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/selectcommand.cpp b/libpqpp/selectcommand.cpp
index 23be577..9854216 100644
--- a/libpqpp/selectcommand.cpp
+++ b/libpqpp/selectcommand.cpp
@@ -58,7 +58,7 @@ PQ::SelectCommand::execute()
}
c->beginTx();
txOpened = true;
- c->checkResult(
+ execRes = c->checkResult(
PQexecParams(c->conn, psql.c_str(), values.size(), NULL, &values.front(), &lengths.front(), &formats.front(), 0),
PGRES_COMMAND_OK);
fetchTuples();