From 9f72f4771821780c406581891c390476a4a7ad35 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Tue, 26 Mar 2024 18:08:11 +1100 Subject: [PATCH] Changed the test expected result of `pdo_mysql/bug76815_pdo_mysql_f to %d MariaDB was reporting row 0 instead of 1. --- ext/pdo_mysql/tests/bug76815.phpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/pdo_mysql/tests/bug76815.phpt b/ext/pdo_mysql/tests/bug76815.phpt index c89499296171b..ca27048a03309 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.