diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-11 14:47:38 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-11 14:48:44 +0100 |
commit | 7a89157f8c440bccdd0317c1f460d2a916c5896c (patch) | |
tree | 1b8cbedcdc8b0d7e65ac2f7acfa7306f63744ddc /ext/pdo_mysql/tests/pdo_mysql_multi_stmt_nextrowset.phpt | |
parent | 81f012a16469290cfd48ffca111b711b5546e250 (diff) | |
download | php-git-7a89157f8c440bccdd0317c1f460d2a916c5896c.tar.gz |
PDO MySQL: Fix nextRowset() on libmysqlclient with native PS
The logic after next_result should match the one after execute.
This was the case for mysqlnd but not libmysqlclient, which used
the non-PS logic.
Diffstat (limited to 'ext/pdo_mysql/tests/pdo_mysql_multi_stmt_nextrowset.phpt')
-rw-r--r-- | ext/pdo_mysql/tests/pdo_mysql_multi_stmt_nextrowset.phpt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/pdo_mysql/tests/pdo_mysql_multi_stmt_nextrowset.phpt b/ext/pdo_mysql/tests/pdo_mysql_multi_stmt_nextrowset.phpt index a65fd2eed2..aa644ed2b4 100644 --- a/ext/pdo_mysql/tests/pdo_mysql_multi_stmt_nextrowset.phpt +++ b/ext/pdo_mysql/tests/pdo_mysql_multi_stmt_nextrowset.phpt @@ -15,9 +15,6 @@ $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3]; 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)); - -if (!MySQLPDOTest::isPDOMySQLnd()) - die("skip This will not work with libmysql"); ?> --FILE-- <?php |