diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-03-13 04:13:36 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-03-13 04:13:36 +0000 |
commit | e9808ffb01876ab0ebad383de7861899a17f1a63 (patch) | |
tree | b66de93af48b91d3889b0155ba160fb4743a51a9 /src/modules/sql.h | |
parent | f02f3a24aa7c6d4f888d06f9eefed4489de10def (diff) |
Convert MySQL to SQLv3
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12629 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/sql.h')
-rw-r--r-- | src/modules/sql.h | 4 |
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: /** |