diff --git a/ext/mysqli/tests/bug44897.phpt b/ext/mysqli/tests/bug44897.phpt index 616e24ec413..058468c10bd 100644 --- a/ext/mysqli/tests/bug44897.phpt +++ b/ext/mysqli/tests/bug44897.phpt @@ -1,10 +1,15 @@ --TEST-- -Bug #44879 ( failed to prepare statement) +Bug #44879 (failed to prepare statement) --SKIPIF-- prepare('SELECT label FROM test WHERE id = ?'); if (!is_object($stmt2)) { - printf("[007] Failed to create new statement object\n"); + printf("[007] Failed to create new statement object, [%d] %s\n", + $link->errno, $link->error); } else {