php-src/ext/mysqli
Christoph M. Becker 7c702b72f2
Fix GH-8267: MySQLi uses unsupported format specifier on Windows
Instead of using the unsupported `%I64u` and `%I64d` format specifiers
on Windows, we use the portable `PRIu64` and `PRId64` specifiers.

The `L64()` macro and the `my_longlong` typedef should be adapted as
well, as the `i64` literal suffix is still supported by MSVC, but using
`LL` or `ll` is recommended[1], and the standard `int64_t` is available
there anyway.  This is not urgent, though.

[1] <https://docs.microsoft.com/en-us/cpp/cpp/numeric-boolean-and-pointer-literals-cpp?view=msvc-170#integer-literals>

Closes GH-8268.
2022-04-07 17:03:15 +02:00
..
tests Fix GH-8267: MySQLi uses unsupported format specifier on Windows 2022-04-07 17:03:15 +02:00
config.m4 Don't assume libmysqlclient library name 2020-11-12 15:11:56 +01:00
config.w32 Generate function entries from stubs for mysqli 2020-04-19 21:56:47 +02:00
CREDITS
mysqli_api.c Merge branch 'PHP-7.4' into PHP-8.0 2021-08-10 00:06:58 +02:00
mysqli_arginfo.h mysqli_get_client_info() cannot return null 2021-05-26 17:48:35 +02:00
mysqli_driver.c Remove embedded property from mysqli_driver 2020-11-09 11:00:16 +01:00
mysqli_exception.c Accept zend_object* in zend_update_property 2020-08-07 16:40:27 +02:00
mysqli_libmysql.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
mysqli_mysqlnd.h Drop support for libmysqlclient < 5.5 2020-09-17 12:05:30 +02:00
mysqli_nonapi.c Consistent error handling in mysqli_poll 2020-10-26 16:25:25 +01:00
mysqli_priv.h Remove support for libmysqlclient 5.0 2020-04-23 10:38:20 +02:00
mysqli_prop.c Fix [-Wundef] warning in MySQLi extension 2020-05-18 00:37:19 +02:00
mysqli_report.c Remove proto comments from C files 2020-07-06 21:13:34 +02:00
mysqli_result_iterator.c Convert E_ERROR to Error exception in mysqli_result iterator 2020-09-14 12:15:24 +02:00
mysqli_warning.c Consistent error handling in mysqli_poll 2020-10-26 16:25:25 +01:00
mysqli.c Fix GH-8068: mysqli_fetch_object creates inaccessible properties 2022-03-14 14:27:04 +01:00
mysqli.stub.php mysqli_get_client_info() cannot return null 2021-05-26 17:48:35 +02:00
php_mysqli_structs.h Fix GH-8267: MySQLi uses unsupported format specifier on Windows 2022-04-07 17:03:15 +02:00
php_mysqli.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00