|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-03-14 09:13 UTC] andrey@php.net
-Status: Open
+Status: Wont fix
[2013-03-14 09:13 UTC] andrey@php.net
[2013-05-14 11:02 UTC] andrey@php.net
[2013-05-14 11:02 UTC] andrey@php.net
-Status: Wont fix
+Status: Closed
-Assigned To:
+Assigned To: andrey
[2013-08-14 20:28 UTC] joaoassef at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 13:00:02 2025 UTC |
Description: ------------ Building mysqli with Connector/C 6.0.2 can fail with the error: mysqli.c: In function ‘zm_startup_mysqli’: mysqli.c:842: error: ‘MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS’ undeclared (first use in this function) This is because of mysqli.c's use of: #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 In Connector/C, the value of MYSQL_VERSION_ID is 60000 however the constant MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS is not defined.