Remove more leftovers of mysqli embedded server

This commit is contained in:
Nikita Popov 2019-02-28 12:59:38 +01:00
parent 9624e87a8f
commit 248f9cf33f
2 changed files with 0 additions and 11 deletions

View File

@ -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);

View File

@ -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]);