Bug #79539 [PATCH]: mysqli_insert_packet_overflow.phpt spuriously fails on Appveyor CI
| From: | lear@ofcourseimright.com | Date: | Wed, 29 Apr 2020 14:05:35 +0000 |
| Subject: | Bug #79539 [PATCH]: mysqli_insert_packet_overflow.phpt spuriously fails on Appveyor CI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-226823@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79539&edit=1
ID: 79539
Patch added by: lear@ofcourseimright.com
Reported by: lear at ofcourseimright dot com
Summary: mysqli_insert_packet_overflow.phpt spuriously fails
on Appveyor CI
Status: Open
Type: Bug
Package: MySQLi related
Operating System: Windows
PHP Version: master-Git-2020-04-29 (Git)
Block user comment: N
Private report: N
New Comment:
The following pull request has been associated:
Patch Name: Fix #79539: during CI, drop table if it exists
On GitHub: https://github.com/php/php-src/pull/5493
Patch: https://github.com/php/php-src/pull/5493.patch
Previous Comments:
------------------------------------------------------------------------
[2020-04-29 12:34:54] lear at ofcourseimright dot com
Description:
------------
CI testing for mysqli_insert_packet_overflow.phpt is failing because the test table exists, meaning
it is not being properly dropped by another test. This can occur if a test is not skipped but php
exits abnormally on an XFAIL.
Test script:
---------------
See mysqli_insert_packet_overflow.phpt
Expected result:
----------------
Never see a CI warning about table existing.
Actual result:
--------------
001+ [012] [1050] Table 'test' already exists
001- done!
002+ [013] max_allowed_packet = 67108864, strlen(query) = 16777214, [1054] Unknown column
'col_blob' in 'field list'
003+ [014] [1054] Unknown column 'col_blob' in 'field list'
004+
005+ Fatal error: Uncaught TypeError: mysqli_fetch_assoc(): Argument #1 ($mysql_result) must be of
type mysqli_result, bool given in
C:\projects\php-src\ext\mysqli\tests\mysqli_insert_packet_overflow.php:70
006+ Stack trace:
007+ #0 C:\projects\php-src\ext\mysqli\tests\mysqli_insert_packet_overflow.php(70):
mysqli_fetch_assoc(false)
008+ #1 {main}
009+ thrown in C:\projects\php-src\ext\mysqli\tests\mysqli_insert_packet_overflow.php on line 70
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79539&edit=1