diff options
author | Ruediger Pluem <rpluem@apache.org> | 2009-12-01 16:06:29 +0000 |
---|---|---|
committer | Ruediger Pluem <rpluem@apache.org> | 2009-12-01 16:06:29 +0000 |
commit | b08b7ccafd13aa5f3625f16226c0f4cf21e316b8 (patch) | |
tree | edd7876cb756c9434a369b9983a9b918c42da024 /dbd | |
parent | 5d1c82eae26a2fdb4c6b6596f306c63e3dcef2ce (diff) | |
download | apr-b08b7ccafd13aa5f3625f16226c0f4cf21e316b8.tar.gz |
* Silence compiler warning
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@885813 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dbd')
-rw-r--r-- | dbd/apr_dbd_mysql.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dbd/apr_dbd_mysql.c b/dbd/apr_dbd_mysql.c index 4b2790aac..df4f6e3b0 100644 --- a/dbd/apr_dbd_mysql.c +++ b/dbd/apr_dbd_mysql.c @@ -1131,7 +1131,9 @@ static apr_dbd_t *dbd_mysql_open(apr_pool_t *pool, const char *params, {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); |