mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
MFT: Implemented FR #47802 (Support for setting character sets in DSN strings)
This commit is contained in:
parent
ff4982784a
commit
504b6f695e
5 changed files with 49 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue