summaryrefslogtreecommitdiff
path: root/src/modules/sql.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/sql.h')
-rw-r--r--src/modules/sql.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/sql.h b/src/modules/sql.h
index e0f306407..e558d9f6b 100644
--- a/src/modules/sql.h
+++ b/src/modules/sql.h
@@ -16,7 +16,7 @@
/** Defines the error types which SQLerror may be set to
*/
-enum SQLerrorNum { SQL_BAD_DBID, SQL_BAD_CONN, SQL_QSEND_FAIL, SQL_QREPLY_FAIL };
+enum SQLerrorNum { SQL_NO_ERROR, SQL_BAD_DBID, SQL_BAD_CONN, SQL_QSEND_FAIL, SQL_QREPLY_FAIL };
/** A list of format parameters for an SQLquery object.
*/
@@ -39,7 +39,7 @@ typedef std::vector<SQLEntry> SQLEntries;
/**
* Result of an SQL query. Only valid inside OnResult
*/
-class SQLResult : public interfacebase
+class SQLResult : public classbase
{
public:
/**