Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Fix
-
10.0.3
-
None
-
None
-
Gentoo Linux x86_64 Source build
Description
When PHP is built against MariaDB 10.0 libmysqlclient, it fails to complete as it is expecting MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS.
From php:
#if MYSQL_VERSION_ID >= 50611 || defined(MYSQLI_USE_MYSQLND)
|
REGISTER_LONG_CONSTANT("MYSQLI_OPT_CAN_HANDLE_EXPIRED_PASSWORDS", MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS, CONST_CS | CONST_PERSISTENT);
|
#endif
|
Build log snippet:
/var/tmp/portage/dev-lang/php-5.4.13/work/sapis-build/cli/ext/mysqli/mysqli_api.c: In function 'mysqli_options_get_option_zval_type':
|
/var/tmp/portage/dev-lang/php-5.4.13/work/sapis-build/cli/ext/mysqli/mysqli_api.c:1676:8: error: 'MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS' undeclared (first use in this function)
|