summaryrefslogtreecommitdiff
path: root/libpqpp/selectcommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp/selectcommand.cpp')
-rw-r--r--libpqpp/selectcommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/selectcommand.cpp b/libpqpp/selectcommand.cpp
index 603cffd..6ed0d5a 100644
--- a/libpqpp/selectcommand.cpp
+++ b/libpqpp/selectcommand.cpp
@@ -30,7 +30,7 @@ PQ::SelectCommand::execute()
if (!executed) {
prepare();
execRes = PQexecPrepared(c->conn, stmntName.c_str(), values.size(), &values.front(), &lengths.front(), &formats.front(), 0);
- c->checkResult(execRes, PGRES_TUPLES_OK, __PRETTY_FUNCTION__);
+ c->checkResult(execRes, PGRES_TUPLES_OK);
unsigned int nFields = PQnfields(execRes);
fields.resize(nFields);
for (unsigned int f = 0; f < nFields; f += 1) {