diff options
author | randomdan <randomdan@localhost> | 2014-01-10 21:37:46 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2014-01-10 21:37:46 +0000 |
commit | c8bdcc9bac7f0d9f8a5b3b4fd544e5fbe6a9d668 (patch) | |
tree | b26e55d1551787e928a80c4e454d8d6da3eda144 /libpqpp | |
parent | Fix slice scanner and split .ice files back into logical blocks (diff) | |
download | libdbpp-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
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 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(); |