summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/extra/m_sqlv2.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/extra/m_sqlv2.h b/src/modules/extra/m_sqlv2.h
index 3635129d5..e50703ea1 100644
--- a/src/modules/extra/m_sqlv2.h
+++ b/src/modules/extra/m_sqlv2.h
@@ -15,7 +15,7 @@
#define SQLRESID "SQLv2 Result"
#define SQLSUCCESS "You shouldn't be reading this (success)"
-enum SQLerrorNum { NO_ERROR, BAD_DBID, BAD_CONN, QSEND_FAIL };
+enum SQLerrorNum { NO_ERROR, BAD_DBID, BAD_CONN, QSEND_FAIL, QREPLY_FAIL };
typedef std::deque<std::string> ParamL;
class SQLexception : public ModuleException
@@ -69,6 +69,8 @@ public:
return "Invalid connection";
case QSEND_FAIL:
return "Sending query failed";
+ case QREPLY_FAIL:
+ return "Getting query result failed";
default:
return "Unknown error";
}