diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2011-01-17 09:54:22 +0000 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2011-01-17 09:54:22 +0000 |
commit | 504b6f695e3bf0bae3ce4db14f48bb15f7db34a6 (patch) | |
tree | bc49768db755aaed6f63b13e6c2fe0f477e4408d /ext/pdo_mysql/php_pdo_mysql_int.h | |
parent | ff4982784a53f02b08b1b2cade9dff6e46977eca (diff) | |
download | php-git-504b6f695e3bf0bae3ce4db14f48bb15f7db34a6.tar.gz |
MFT: Implemented FR #47802 (Support for setting character sets in DSN strings)
Diffstat (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h')
-rwxr-xr-x | ext/pdo_mysql/php_pdo_mysql_int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h index 6192b7238d..94ab41fddc 100755 --- a/ext/pdo_mysql/php_pdo_mysql_int.h +++ b/ext/pdo_mysql/php_pdo_mysql_int.h @@ -33,6 +33,10 @@ # define PDO_MYSQL_PARAM_BIND MYSQL_BIND #endif +#if (MYSQL_VERSION_ID >= 40113 && MYSQL_VERSION_ID < 50000) || MYSQL_VERSION_ID >= 50007 || defined(MYSQL_USE_MYSQLND) +# define PDO_MYSQL_HAS_CHARSET +#endif + #if defined(PDO_USE_MYSQLND) && PHP_DEBUG && !defined(PHP_WIN32) #define PDO_DBG_ENABLED 1 |