History log of /PHP-8.1/ext/mysqli/tests/mysqli_incomplete_initialization.phpt (Results 1 – 5 of 5)
Revision Date Author Comments
# b5a14e6c 11-Jun-2021 Nikita Popov

Port skipif.inc files to EXTENSIONS


# 5e1056ed 20-Jan-2021 Dharman

Change the default error mode of mysqli

Make MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT the new mysqli
error reporting default. Explicitly call
mysqli_report(MYSQLI_REPORT_OFF) to pr

Change the default error mode of mysqli

Make MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT the new mysqli
error reporting default. Explicitly call
mysqli_report(MYSQLI_REPORT_OFF) to preserve previous behavior.

RFC: https://wiki.php.net/rfc/mysqli_default_errmode

Closes GH-6629.

show more ...


# 5072321c 14-Aug-2020 Christoph M. Becker

Improve test portability

We have to ensure that the attempted connection to the MySQL server
fails, and do that by passing an unknown host instead of falling back
to localhost.


# 64368f47 14-Aug-2020 Christoph M. Becker

Fix newly introduced test for Windows

The warning message is rather different there, but since that is
irrelevant for this test case, we just suppress the warning.


# ce38d3a9 14-Aug-2020 Nikita Popov

Don't assert mysql->mysql is non-null

There is an edge case in constructor behavior where we can end up
with mysql->mysql being NULL (rather than mysql itself already being
NULL). I

Don't assert mysql->mysql is non-null

There is an edge case in constructor behavior where we can end up
with mysql->mysql being NULL (rather than mysql itself already being
NULL). I think that ultimately that's a bug in the constructor code,
and we should probably be destroying the outer structure on
construction failure as well. However it's pretty hard to unravel
with when considering all the construction permutations.

show more ...