summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/extra/m_testclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_testclient.cpp b/src/modules/extra/m_testclient.cpp
index a776fc490..d5f2fc0d6 100644
--- a/src/modules/extra/m_testclient.cpp
+++ b/src/modules/extra/m_testclient.cpp
@@ -56,7 +56,7 @@ public:
SQLresult* res = (SQLresult*)request;
- if (res->error.Id() != NO_ERROR)
+ if (res->error.Id() == NO_ERROR)
{
log(DEBUG, "Got result with %d rows and %d columns", res->Rows(), res->Cols());