Author: poeml Date: 2009-02-03 02:34:31 -0700 (Tue, 03 Feb 2009) New Revision: 6331 Modified: trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c Log: mod_mirrorbrain: - version 2.5 - use server.enabled and server.status_baseurl as booleans, which works both with MySQL's tinyint as well as PostgreSQL's boolean types Modified: trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c =================================================================== --- trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c 2009-02-03 09:32:50 UTC (rev 6330) +++ trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c 2009-02-03 09:34:31 UTC (rev 6331) _at_@ -73,7 +73,7 @@ #define UNSET (-1) #endif -#define MOD_MIRRORBRAIN_VER "2.4" +#define MOD_MIRRORBRAIN_VER "2.5" #define VERSION_COMPONENT "mod_mirrorbrain/"MOD_MIRRORBRAIN_VER #ifdef NO_MOD_GEOIP _at_@ -94,8 +94,8 @@ "LEFT JOIN server " \ "ON file_server.serverid = server.id " \ "WHERE file.path=%s " \ - "AND server.enabled=1 " \ - "AND server.status_baseurl=1 " \ + "AND server.enabled " \ + "AND server.status_baseurl " \ "AND server.score > 0" _______________________________________________ Opensuse-svn mailing list Opensuse-svn_at_forge.novell.com http://forge.novell.com/mailman/listinfo/opensuse-svn _______________________________________________ mirrorbrain-commits mailing list Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Tue Feb 03 2009 - 09:35:00 GMT
This archive was generated by hypermail 2.3.0 : Thu Mar 25 2010 - 19:18:16 GMT