diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2008-12-30 19:11:13 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2008-12-30 19:11:13 +0000 |
commit | bead44c487dc6cf752ec3b0e1b132bd3130555f2 (patch) | |
tree | b64c063a663887c97ec53498a342b7595e3fb00f /ext | |
parent | aab40960c6769c6231db6c54a811d1363854dd85 (diff) | |
download | php-git-bead44c487dc6cf752ec3b0e1b132bd3130555f2.tar.gz |
MFB: Fixed bug #46964 (Fixed pdo_mysql build with older version of MySQL).
Diffstat (limited to 'ext')
-rwxr-xr-x | ext/pdo_mysql/mysql_driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c index 68cea255df..551c090eef 100755 --- a/ext/pdo_mysql/mysql_driver.c +++ b/ext/pdo_mysql/mysql_driver.c @@ -657,12 +657,12 @@ static int pdo_mysql_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_ { local_infile = 0; } - +#ifdef MYSQL_OPT_LOCAL_INFILE if (mysql_options(H->server, MYSQL_OPT_LOCAL_INFILE, (const char *)&local_infile)) { pdo_mysql_error(dbh); goto cleanup; } - +#endif #ifdef MYSQL_OPT_RECONNECT /* since 5.0.3, the default for this option is 0 if not specified. * we want the old behaviour */ |