apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r885813 - /apr/apr/trunk/dbd/apr_dbd_mysql.c
Date Tue, 01 Dec 2009 16:06:30 GMT
Author: rpluem
Date: Tue Dec  1 16:06:29 2009
New Revision: 885813

URL: http://svn.apache.org/viewvc?rev=885813&view=rev
Log:
* Silence compiler warning

Modified:
    apr/apr/trunk/dbd/apr_dbd_mysql.c

Modified: apr/apr/trunk/dbd/apr_dbd_mysql.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/dbd/apr_dbd_mysql.c?rev=885813&r1=885812&r2=885813&view=diff
==============================================================================
--- apr/apr/trunk/dbd/apr_dbd_mysql.c (original)
+++ apr/apr/trunk/dbd/apr_dbd_mysql.c Tue Dec  1 16:06:29 2009
@@ -1131,7 +1131,9 @@
         {NULL, NULL}
     };
     unsigned int port = 0;
+#if MYSQL_VERSION_ID >= 50013
     unsigned int timeout = 0;
+#endif
     apr_dbd_t *sql = apr_pcalloc(pool, sizeof(apr_dbd_t));
     sql->fldsz = FIELDSIZE;
     sql->conn = mysql_init(sql->conn);



Mime
View raw message