Skip to content

Commit 9f72f47

Browse files
committed
Changed the test expected result of `pdo_mysql/bug76815_pdo_mysql_f to %d
MariaDB was reporting row 0 instead of 1.
1 parent c7ca3e5 commit 9f72f47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/pdo_mysql/tests/bug76815.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ $pdo = MySQLPDOTest::factory();
3636
$pdo->query('DROP FUNCTION IF EXISTS bug76815_pdo_mysql_f');
3737
$pdo->query('DROP PROCEDURE IF EXISTS bug76815_pdo_mysql_p');
3838
?>
39-
--EXPECT--
40-
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'bug76815_pdo_mysql_f()' at row 1
39+
--EXPECTF--
40+
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'bug76815_pdo_mysql_f()' at row %d
4141
Ok.

0 commit comments

Comments
 (0)