From: Mickaël Rémond Date: Fri, 30 Nov 2007 18:06:26 +0000 (+0000) Subject: * src/odbc_queries.erl: Added a default define value so that we can X-Git-Tag: v2.0.0~167 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4cf286aa2f6aa593814b11d046235c3704cc1fe;p=ejabberd * src/odbc_queries.erl: Added a default define value so that we can recompile the file manually with a simple erlc command. SVN Revision: 1003 --- diff --git a/ChangeLog b/ChangeLog index 55b07e5e2..fb216e24c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-11-30 Mickael Remond + + * src/odbc_queries.erl: Added a default define value so that we can + recompile the file manually with a simple erlc command. + 2007-11-29 Badlop * src/mod_vcard.erl: Add type of x:data field to search diff --git a/src/odbc/odbc_queries.erl b/src/odbc/odbc_queries.erl index c2ba81f9b..7748ed21e 100644 --- a/src/odbc/odbc_queries.erl +++ b/src/odbc/odbc_queries.erl @@ -41,8 +41,12 @@ escape/1, count_records_where/3]). +%% We have only two compile time options for db queries: %-define(generic, true). %-define(mssql, true). +-ifndef(mssql). +-define(generic, true). +-endif. %% ----------------- %% Generic queries