From d8d9ef2c62a5f53f44e16efb8dbd6eeaca5e324a Mon Sep 17 00:00:00 2001 From: Ulf Wendel Date: Fri, 29 May 2009 13:02:30 +0000 Subject: [PATCH] 1) The wording of a message can differ by version and by libmysql vs. mysqlnd. 2) %i is better than %s --- ext/mysqli/tests/057.phpt | 2 +- ext/mysqli/tests/bug34810.phpt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/mysqli/tests/057.phpt b/ext/mysqli/tests/057.phpt index b291bbb94b..d4203b44fa 100644 --- a/ext/mysqli/tests/057.phpt +++ b/ext/mysqli/tests/057.phpt @@ -67,7 +67,7 @@ bool(true) bool(true) object(mysqli_stmt)#%d (%d) { [%u|b%"affected_rows"]=> - int(%s) + int(%i) [%u|b%"insert_id"]=> int(0) [%u|b%"num_rows"]=> diff --git a/ext/mysqli/tests/bug34810.phpt b/ext/mysqli/tests/bug34810.phpt index cd348ef450..ed98e1e5a1 100644 --- a/ext/mysqli/tests/bug34810.phpt +++ b/ext/mysqli/tests/bug34810.phpt @@ -52,7 +52,7 @@ object(mysqli)#%d (%d) { [%u|b%"field_count"]=> int(0) [%u|b%"host_info"]=> - %unicode|string%(%d) "MySQL host info: %s via %s%s" + %unicode|string%(%d) "%s" [%u|b%"info"]=> NULL [%u|b%"insert_id"]=> -- 2.40.0