Patch Drop_Test_Table_first for MySQLi related Bug #79539
Patch version 2020-04-29 12:34 UTC
Return to Bug #79539 |
Download this patch
Patch Revisions:
Developer: lear@ofcourseimright.com
--- a/ext/mysqli/tests/mysqli_insert_packet_overflow.phpt
+++ b/ext/mysqli/tests/mysqli_insert_packet_overflow.phpt
@@ -71,6 +71,9 @@ memory_limit=256M
printf("[011] Failed to change max_allowed_packet");
}
+ if (!mysqli_query($link, 'DROP TABLE IF EXISTS test'))
+ printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+
if (!mysqli_query($link, "CREATE TABLE test(col_blob LONGBLOB) ENGINE=" . $engine))
printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
|