mirror of
https://github.com/php/php-src.git
synced 2024-12-18 22:41:20 +08:00
Merge branch 'PHP-7.4'
* PHP-7.4: Fix #78623: Regression caused by "SP call yields additional empty result set"
This commit is contained in:
commit
2ff42076ff
@ -421,14 +421,14 @@ static int pdo_mysql_stmt_next_rowset(pdo_stmt_t *stmt) /* {{{ */
|
||||
pdo_mysql_error_stmt(stmt);
|
||||
PDO_DBG_RETURN(0);
|
||||
} else {
|
||||
PDO_DBG_RETURN(pdo_mysql_fill_stmt_from_result(stmt) && stmt->row_count);
|
||||
PDO_DBG_RETURN(pdo_mysql_fill_stmt_from_result(stmt));
|
||||
}
|
||||
#else
|
||||
if (mysql_next_result(H->server) > 0) {
|
||||
pdo_mysql_error_stmt(stmt);
|
||||
PDO_DBG_RETURN(0);
|
||||
} else {
|
||||
PDO_DBG_RETURN(pdo_mysql_fill_stmt_from_result(stmt) && stmt->row_count);
|
||||
PDO_DBG_RETURN(pdo_mysql_fill_stmt_from_result(stmt));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
@ -18,6 +18,8 @@ if ($version < 50000)
|
||||
die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
|
||||
$matches[1], $matches[2], $matches[3], $version));
|
||||
?>
|
||||
--XFAIL--
|
||||
nextRowset() problem with stored proc & emulation mode & mysqlnd
|
||||
--FILE--
|
||||
<?php
|
||||
require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
PDO MySQL Bug #41997 (stored procedure call returning single rowset blocks future queries)
|
||||
--XFAIL--
|
||||
nextRowset() problem with stored proc & emulation mode & mysqlnd
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once(__DIR__ . DIRECTORY_SEPARATOR . 'skipif.inc');
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
MySQL Prepared Statements and different column counts
|
||||
--XFAIL--
|
||||
nextRowset() problem with stored proc & emulation mode & mysqlnd
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require_once(__DIR__ . DIRECTORY_SEPARATOR . 'skipif.inc');
|
||||
|
Loading…
Reference in New Issue
Block a user