mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
Adding MYSQLI_OPT_SSL_VERIFY_SERVER_CERT for use with mysqli_options().
This commit is contained in:
parent
71966d1e5a
commit
f671ad6275
3 changed files with 10 additions and 0 deletions
|
@ -1652,6 +1652,9 @@ static int mysqli_options_get_option_zval_type(int option)
|
|||
#ifdef MYSQL_OPT_COMPRESS
|
||||
case MYSQL_OPT_COMPRESS:
|
||||
#endif /* mysqlnd @ PHP 5.3.2 */
|
||||
#ifdef MYSQL_OPT_SSL_VERIFY_SERVER_CERT
|
||||
REGISTER_LONG_CONSTANT("MYSQLI_OPT_SSL_VERIFY_SERVER_CERT", MYSQL_OPT_SSL_VERIFY_SERVER_CERT, CONST_CS | CONST_PERSISTENT);
|
||||
#endif /* MySQL 5.1.1., mysqlnd @ PHP 5.3.3 */
|
||||
return IS_LONG;
|
||||
|
||||
#ifdef MYSQL_SHARED_MEMORY_BASE_NAME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue