php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #79539
Patch Drop_Test_Table_first revision 2020-04-29 12:34 UTC by lear at ofcourseimright dot com

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));
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 14:01:33 2024 UTC