From d81c373961a61871899736b27e67c9341ff6231f Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 6 Mar 2010 16:58:26 +0000 Subject: Convert SQLite driver to SQLv3 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12603 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/sql.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/modules/sql.h') diff --git a/src/modules/sql.h b/src/modules/sql.h index 2d44584fa..9114bea88 100644 --- a/src/modules/sql.h +++ b/src/modules/sql.h @@ -131,6 +131,7 @@ class SQLQuery : public classbase class SQLProvider : public DataProvider { public: + SQLProvider(Module* Creator, const std::string& Name) : DataProvider(Creator, Name) {} /** Submit an asynchronous SQL request * @param dbid The database ID to apply the request to * @param query The query string @@ -142,13 +143,13 @@ class SQLProvider : public DataProvider * @param q The query string, with '?' parameters * @param p The parameters to fill in in the '?' slots */ - virtual std::string FormatQuery(std::string q, ParamL p); + virtual std::string FormatQuery(std::string q, ParamL p) = 0; /** Format a parameterized query string using proper SQL escaping. * @param q The query string, with '$foo' parameters * @param p The map to look up parameters in */ - virtual std::string FormatQuery(std::string q, ParamM p); + virtual std::string FormatQuery(std::string q, ParamM p) = 0; }; #endif -- cgit v1.2.3