#
fd73681c |
| 09-Apr-2024 |
Arnaud Le Blanc |
Fix GCC warning when using getThis() in a conditional (#13923) Since GCC 12.x, using getThis() in a conditional yields a warning: <source>:12:22: warning: the comparison will al
Fix GCC warning when using getThis() in a conditional (#13923) Since GCC 12.x, using getThis() in a conditional yields a warning: <source>:12:22: warning: the comparison will always evaluate as 'true' for the address of 'This' will never be NULL [-Waddress] 12 | return getThis() ? 2 : 3; | ^
show more ...
|
#
47f80ffc |
| 05-Mar-2023 |
Ilija Tovilo |
Remove unnecessary type punnign from mysqli_api.c value is a long. On big-endian architectures mysql_stmt_attr_get() will write to the most significant byte. Type punning was used to mov
Remove unnecessary type punnign from mysqli_api.c value is a long. On big-endian architectures mysql_stmt_attr_get() will write to the most significant byte. Type punning was used to move that byte to the least significant one, which is UB. We can avoid this by simply casting to my_bool (alias of bool). Previously, a comparison against 0 should've been done.
show more ...
|
#
d5c649b3 |
| 23-Feb-2023 |
Max Kellermann |
zend_compiler, ...: use `uint8_t` instead of `zend_uchar` (#10621) `zend_uchar` suggests that the value is an ASCII character, but here, it's about very small integers. This is misleadi
zend_compiler, ...: use `uint8_t` instead of `zend_uchar` (#10621) `zend_uchar` suggests that the value is an ASCII character, but here, it's about very small integers. This is misleading, so let's use a C99 integer instead. On all architectures currently supported by PHP, `zend_uchar` and `uint8_t` are identical. This change is only about code readability.
show more ...
|
Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22, php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1 |
|
#
1dc51c7b |
| 06-Jul-2022 |
Kamil Tekiela |
Implement mysqli_execute_query() (#8660) |
Revision tags: php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15 |
|
#
d84dfa32 |
| 05-Jan-2022 |
Kamil Tekiela |
Remove MYSQLI_USE_MYSQLND constant and all the code with it |
Revision tags: php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27 |
|
#
15e7e570 |
| 03-Dec-2021 |
David Carlier |
Fix #81658: MYSQL_OPT_LOAD_DATA_LOCAL_DIR not available in MariaDB This also introduces the boolean userland constant `MYSQLI_IS_MARIADB`. |
Revision tags: php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6, php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4, php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3, php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2, php-7.4.24RC1, php-8.0.11RC1, php-8.1.0RC1, php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3, php-8.0.10RC1, php-7.4.23RC1 |
|
#
35332503 |
| 09-Aug-2021 |
Christoph M. Becker |
Merge branch 'PHP-8.0' * PHP-8.0: Fix #74544: Integer overflow in mysqli_real_escape_string()
|
#
606829f3 |
| 09-Aug-2021 |
Christoph M. Becker |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Fix #74544: Integer overflow in mysqli_real_escape_string()
|
#
5977610d |
| 09-Aug-2021 |
Christoph M. Becker |
Fix #74544: Integer overflow in mysqli_real_escape_string() The patch has been provided by @johannes. Closes GH-7353. |
Revision tags: php-8.1.0beta2 |
|
#
cd0cd3d3 |
| 01-Aug-2021 |
Kamil Tekiela |
Fix typos (#7327) |
Revision tags: php-8.0.9, php-7.4.22, php-8.1.0beta1, php-7.4.22RC1, php-8.0.9RC1, php-8.1.0alpha3, php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1, php-8.0.7, php-7.4.20 |
|
#
01775fa1 |
| 26-May-2021 |
Máté Kocsis |
Declare tentative return types for ext/mysqli (#6998) |
#
b0961f2d |
| 26-May-2021 |
Nikita Popov |
Remove uses of TRUE/FALSE in mysqli/pdo_mysql Replace with standard uses of true/false. |
#
428340df |
| 25-May-2021 |
Kamil Tekiela |
Add error reporting to mysqli_options (#7036) |
Revision tags: php-8.0.7RC1, php-7.4.20RC1 |
|
#
aca6aefd |
| 14-May-2021 |
George Peter Banyard |
Remove 'register' type qualifier (#6980) The compiler should be smart enough to optimize this on its own |
#
01b3fc03 |
| 06-May-2021 |
KsaR |
Update http->https in license (#6945) 1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https. 2. Update few license 3.0 to 3.01 as
Update http->https in license (#6945) 1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https. 2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier". 3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted. 4. fixed indentation in some files before |
show more ...
|
Revision tags: php-8.0.6, php-7.4.19, php-7.4.18, php-7.3.28, php-8.0.5 |
|
#
45bad647 |
| 14-Apr-2021 |
Kamil Tekiela |
Mysqli bind in execute (#6271) |
Revision tags: php-8.0.5RC1, php-7.4.18RC1, php-8.0.4RC1, php-7.4.17RC1 |
|
#
7e9f6d2a |
| 13-Mar-2021 |
Dharman |
Deprecate OO style mysqli::get_client_info method Deprecate passing connection object to mysqli_get_client_info() Closes GH-6777. |
Revision tags: php-8.0.3, php-7.4.16 |
|
#
da011a31 |
| 22-Feb-2021 |
Darek Slusarczyk |
Fix #80329: Add option to specify LOAD DATA LOCAL white list folder * allow the user to specify a folder where files that can be sent via LOAD DATA LOCAL can exist * add mysqli.
Fix #80329: Add option to specify LOAD DATA LOCAL white list folder * allow the user to specify a folder where files that can be sent via LOAD DATA LOCAL can exist * add mysqli.local_infile_directory for mysqli (ignored if mysqli.allow_local_infile is enabled) * add PDO::MYSQL_ATTR_LOCAL_INFILE_DIRECTORY for pdo_mysql (ignored if PDO::MYSQL_ATTR_LOCAL_INFILE is enabled) * add related tests * fixes for building with libmysql 8.x * small improvement in existing tests * update php.ini-[development|production] files Closes GH-6448. Co-authored-by: Nikita Popov <nikic@php.net>
show more ...
|
Revision tags: php-8.0.3RC1, php-7.4.16RC1 |
|
#
1cd33d83 |
| 10-Feb-2021 |
Nikita Popov |
Merge branch 'PHP-8.0' * PHP-8.0: Make mysqli_ssl_set() arguments nullable
|
#
39c6aaa9 |
| 10-Feb-2021 |
Nikita Popov |
Make mysqli_ssl_set() arguments nullable This function internally converts zero length arguments to NULL argument -- but we should also accept them in the first place. Null argu
Make mysqli_ssl_set() arguments nullable This function internally converts zero length arguments to NULL argument -- but we should also accept them in the first place. Null arguments being accepted was actually documented, before bug #78399 adjusted the docs to match current behavior.
show more ...
|
Revision tags: php-8.0.2, php-7.4.15, php-7.3.27, php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1 |
|
#
3e01f5af |
| 15-Jan-2021 |
Nikita Popov |
Replace zend_bool uses with bool We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool
Replace zend_bool uses with bool We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias.
show more ...
|
#
422d1665 |
| 14-Jan-2021 |
Nikita Popov |
Make convert_to_*_ex simple aliases of convert_to_* Historically, the _ex variants separated the zval first, if a conversion was necessary. This distinction no longer makes sense sin
Make convert_to_*_ex simple aliases of convert_to_* Historically, the _ex variants separated the zval first, if a conversion was necessary. This distinction no longer makes sense since PHP 7. The only difference that was still left is that _ex checked whether the type is the same first, but the usage of these macros did not actually distinguish on whether such an inlined check is valuable or not in a given context. Also drop the unused convert_to_explicit_type macros.
show more ...
|
#
73f989a8 |
| 06-Jan-2021 |
Nikita Popov |
Merge branch 'PHP-8.0' * PHP-8.0: Fix/improve mysqli stubs
|
Revision tags: php-8.0.1, php-7.4.14 |
|
#
44a311db |
| 04-Jan-2021 |
Dharman |
Fix/improve mysqli stubs * mysqli_commit $flags default value is 0, not -1. * A number of functions cannot actually return null. * mysqli_poll parameter names were incorrect, as this
Fix/improve mysqli stubs * mysqli_commit $flags default value is 0, not -1. * A number of functions cannot actually return null. * mysqli_poll parameter names were incorrect, as this function has a different signature from select. * fetch functions apart from fetch_all can return false on failure.
show more ...
|
Revision tags: php-7.3.26 |
|
#
be93e5a1 |
| 18-Dec-2020 |
Nikita Popov |
Make mysqli_stmt_next_result available under libmysql The libmysqlclient version we require supports mysql_stmt_next_result. |