com php-src: Remove more leftovers of mysqli embedded server: ext/mysqli/mysqli_fe.h ext/mysqli/tests/mysqli_class_ mysqli_driver_interface.phpt

From: Date: Thu, 28 Feb 2019 14:43:29 +0000
Subject: com php-src: Remove more leftovers of mysqli embedded server: ext/mysqli/mysqli_fe.h ext/mysqli/tests/mysqli_class_ mysqli_driver_interface.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-104904@lists.php.net to get a copy of this message
Commit: 248f9cf33f855133669b7748a32d7b73256b0f4a Author: Nikita Popov <nikita.ppv@gmail.com> Thu, 28 Feb 2019 12:59:38 +0100 Parents: 9624e87a8fb4a3ae99bd6ed2cda6bd953ce3d98c Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=248f9cf33f855133669b7748a32d7b73256b0f4a Log: Remove more leftovers of mysqli embedded server Changed paths: M ext/mysqli/mysqli_fe.h M ext/mysqli/tests/mysqli_class_mysqli_driver_interface.phpt Diff: diff --git a/ext/mysqli/mysqli_fe.h b/ext/mysqli/mysqli_fe.h index 0292dca..c6e8293 100644 --- a/ext/mysqli/mysqli_fe.h +++ b/ext/mysqli/mysqli_fe.h @@ -101,8 +101,6 @@ PHP_FUNCTION(mysqli_stmt_prepare); PHP_FUNCTION(mysqli_stmt_fetch); PHP_FUNCTION(mysqli_stmt_param_count); PHP_FUNCTION(mysqli_stmt_send_long_data); -PHP_FUNCTION(mysqli_embedded_server_end); -PHP_FUNCTION(mysqli_embedded_server_start); PHP_FUNCTION(mysqli_sqlstate); PHP_FUNCTION(mysqli_ssl_set); PHP_FUNCTION(mysqli_stat); diff --git a/ext/mysqli/tests/mysqli_class_mysqli_driver_interface.phpt b/ext/mysqli/tests/mysqli_class_mysqli_driver_interface.phpt index 681590e..7878421 100644 --- a/ext/mysqli/tests/mysqli_class_mysqli_driver_interface.phpt +++ b/ext/mysqli/tests/mysqli_class_mysqli_driver_interface.phpt @@ -20,15 +20,6 @@ require_once('skipifconnectfailure.inc'); $methods = get_class_methods($driver); $expected_methods = array(); - if (!$IS_MYSQLND && (isset($methods['embedded_server_start']))) { - /* libmysql only - needs extra compile flag, no way to check properly in the - PHP user land if its compiled in or not */ - $expected_methods = array_merge($expected_methods, array( - 'embedded_server_start' => true, - 'embedded_server_end' => true, - )); - } - foreach ($methods as $k => $method) { if (isset($expected_methods[$method])) { unset($expected_methods[$method]);

« previous php.cvs (#104904) next »