[php-src] master: Changed the test expected result of `pdo_mysql/bug76815_pdo_mysql_f to %d (#13808)
| From: | Daniel Black via GitHub | Date: | Fri, 09 Oct 2026 15:03:53 +0000 |
| Subject: | [php-src] master: Changed the test expected result of `pdo_mysql/bug76815_pdo_mysql_f to %d (#13808) | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-142117@lists.php.net to get a copy of this message | ||
Author: Daniel Black (grooverdan)
Committer: GitHub (web-flow)
Pusher: kamil-tekiela
Date: 2026-10-09T16:03:49+01:00
Commit: https://github.com/php/php-src/commit/a5e3dee1cbbf9751bf2d9c06a35aa36380fd833c
Raw diff: https://github.com/php/php-src/commit/a5e3dee1cbbf9751bf2d9c06a35aa36380fd833c.diff
Changed the test expected result of `pdo_mysql/bug76815_pdo_mysql_f to %d (#13808)
MariaDB was reporting row 0 instead of 1.
Changed paths:
M ext/pdo_mysql/tests/bug76815.phpt
Diff:
diff --git a/ext/pdo_mysql/tests/bug76815.phpt b/ext/pdo_mysql/tests/bug76815.phpt
index c89499296171..ca27048a0330 100644
--- a/ext/pdo_mysql/tests/bug76815.phpt
+++ b/ext/pdo_mysql/tests/bug76815.phpt
@@ -36,6 +36,6 @@ $pdo = MySQLPDOTest::factory();
$pdo->query('DROP FUNCTION IF EXISTS bug76815_pdo_mysql_f');
$pdo->query('DROP PROCEDURE IF EXISTS bug76815_pdo_mysql_p');
?>
---EXPECT--
-SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column
'bug76815_pdo_mysql_f()' at row 1
+--EXPECTF--
+SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column
'bug76815_pdo_mysql_f()' at row %d
Ok.