diff options
author | Anatol Belski <ab@php.net> | 2014-12-06 12:18:36 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-12-06 12:18:36 +0100 |
commit | 42d7cb4c2c7832591814f88628186ac156a631eb (patch) | |
tree | df36d4dae80fef858094bc15e025aebf34a0f66e /ext/pdo_mysql/mysql_driver.c | |
parent | 3d68d843cb21d7147164dd4599e99afb456790c8 (diff) | |
parent | 08241ee3f3624d9fa9be21739a5e5cde28c24d0a (diff) | |
download | php-git-42d7cb4c2c7832591814f88628186ac156a631eb.tar.gz |
Merge branch 'PHP-5.6'
* PHP-5.6:
C89 compat
add include for missing localeconv_r proto
Diffstat (limited to 'ext/pdo_mysql/mysql_driver.c')
-rw-r--r-- | ext/pdo_mysql/mysql_driver.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c index ab5e4bcfd0..73889af5ea 100644 --- a/ext/pdo_mysql/mysql_driver.c +++ b/ext/pdo_mysql/mysql_driver.c @@ -557,6 +557,11 @@ static int pdo_mysql_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_ |CLIENT_MULTI_RESULTS #endif ; +#if defined(PDO_USE_MYSQLND) + int dbname_len = 0; + int password_len = 0; +#endif + #ifdef CLIENT_MULTI_STATEMENTS if (!driver_options) { connect_opts |= CLIENT_MULTI_STATEMENTS; @@ -565,10 +570,6 @@ static int pdo_mysql_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_ } #endif -#if defined(PDO_USE_MYSQLND) - int dbname_len = 0; - int password_len = 0; -#endif PDO_DBG_ENTER("pdo_mysql_handle_factory"); PDO_DBG_INF_FMT("dbh=%p", dbh); #ifdef CLIENT_MULTI_RESULTS |