#
857ce2c9 |
| 11-Aug-2024 |
Gina Peter Banyard |
ext/mysqli: Mark return type as zend_return (#15345)
|
#
5d1db3dd |
| 11-Aug-2024 |
Gina Peter Bnayard |
ext/mysqli: Improve variable name and type
|
#
11accb5c |
| 25-Jun-2024 |
Arnaud Le Blanc |
Preferably include from build dir (#13516) * Include from build dir first This fixes out of tree builds by ensuring that configure artifacts are included from the build dir.
Preferably include from build dir (#13516) * Include from build dir first This fixes out of tree builds by ensuring that configure artifacts are included from the build dir. Before, out of tree builds would preferably include files from the src dir, as the include path was defined as follows (ignoring includes from ext/ and sapi/) : -I$(top_builddir)/main -I$(top_srcdir) -I$(top_builddir)/TSRM -I$(top_builddir)/Zend -I$(top_srcdir)/main -I$(top_srcdir)/Zend -I$(top_srcdir)/TSRM -I$(top_builddir)/ As a result, an out of tree build would include configure artifacts such as `main/php_config.h` from the src dir. After this change, the include path is defined as follows: -I$(top_builddir)/main -I$(top_builddir) -I$(top_srcdir)/main -I$(top_srcdir) -I$(top_builddir)/TSRM -I$(top_builddir)/Zend -I$(top_srcdir)/Zend -I$(top_srcdir)/TSRM * Fix extension include path for out of tree builds * Include config.h with the brackets form `#include "config.h"` searches in the directory containing the including-file before any other include path. This can include the wrong config.h when building out of tree and a config.h exists in the source tree. Using `#include <config.h>` uses exclusively the include path, and gives priority to the build dir.
show more ...
|
#
25a51461 |
| 01-Jun-2024 |
Gina Peter Banyard |
Clean-up unused headers (#14365) * ext/mbstring.c: clean-up headers and include intrinsics
|
#
a59868ae |
| 16-May-2024 |
Kamil Tekiela |
Clear mysql error in fetch_into Closes GH-14256
|
#
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 ...
|
#
974a3d84 |
| 11-Mar-2023 |
David Carlier |
ext/mysqli/pgsql: mysqli_fetch_object/pgsql_fetch_object raises ValueError on constructor args error. Closes GH-10832.
|
#
c0f2727e |
| 31-Oct-2022 |
George Peter Banyard |
Use zend_call_known_function() in ext-mysqli instead of building FCI/FCC
|
#
5b603709 |
| 27-Oct-2022 |
Kamil Tekiela |
mysqli_query throws warning despite using silenced error mode (#9842)
|
#
66661ae6 |
| 11-Oct-2022 |
George Peter Banyard |
Remove most usages of zend_fcall_info_args() This reallocates the PHP array when one can just use the named_params fields to pass the positional arguments instead. Only usage of zen
Remove most usages of zend_fcall_info_args() This reallocates the PHP array when one can just use the named_params fields to pass the positional arguments instead. Only usage of zend_fcall_info_args(_ex) remains in PDO.
show more ...
|
Revision tags: php-8.2.0RC1, php-8.1.10 |
|
#
1ad59b32 |
| 30-Aug-2022 |
George Peter Banyard |
Update INI validator and displayers depending on INI type Closes GH-9451
|
#
03fd4054 |
| 06-Sep-2022 |
Tim Düsterhus |
Use php_info_print_table_header for actual column headers only (#9485) Using php_info_print_table_header() for "Foo: bar" looks odd and out of place, because the whole line is colored. I
Use php_info_print_table_header for actual column headers only (#9485) Using php_info_print_table_header() for "Foo: bar" looks odd and out of place, because the whole line is colored. It is also questionable from a HTML semantics point of view, because it does not described the columns that follow. The use of this across extensions is inconsistent. It was part of the skeleton, but ext/date or ext/json already use a regular row.
show more ...
|
Revision tags: 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 |
|
#
f0d53684 |
| 18-Jul-2022 |
Máté Kocsis |
Declare ext/mysqli constants in stubs (#8811)
|
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 |
|
#
1bcd8d39 |
| 08-Jun-2022 |
Pierrick Charron |
Update gen_stub to support #if around classes
|
Revision tags: 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 |
|
#
3a4d1b61 |
| 12-Apr-2022 |
Tim Düsterhus |
Mark parameter in ext/mysqli as sensitive
|
#
debd38f8 |
| 02-Jun-2022 |
Máté Kocsis |
Add support for sensitive parameters in stubs
|
Revision tags: 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 |
|
#
01cbe390 |
| 13-Feb-2022 |
Kamil Tekiela |
Remove mysqli_driver::$reconnect property
|
#
21ca8c43 |
| 06-Feb-2022 |
Kamil Tekiela |
The INI mysqli.reconnect directive has been removed.
|
Revision tags: 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
|
#
ef29ddcc |
| 10-Mar-2022 |
Christoph M. Becker |
Fix GH-8068: mysqli_fetch_object creates inaccessible properties When fetching into objects, we need to create object style hash tables, i.e. where numeric column names are stored as str
Fix GH-8068: mysqli_fetch_object creates inaccessible properties When fetching into objects, we need to create object style hash tables, i.e. where numeric column names are stored as string keys instead of integer keys. Instead of the slightly more efficient alternative to create the desired hash table in the first place, we go for the more readable implementation and convert the array style hash table using `zend_symtable_to_proptable()`. Co-authored-by: Kamil Tekiela <tekiela246@gmail.com> Closes GH-8189.
show more ...
|
Revision tags: php-8.1.2RC1, php-8.0.15RC1 |
|
#
50c7512f |
| 30-Dec-2021 |
Kamil Tekiela |
mysqli_result::__construct should throw exceptions (#7855)
|
Revision tags: 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 |
|
#
90b7bde6 |
| 03-Nov-2021 |
Dmitry Stogov |
Use more compact representation for packed arrays. - for packed arrays we store just an array of zvals without keys. - the elements of packed array are accessible throuf as ht->arPacked[
Use more compact representation for packed arrays. - for packed arrays we store just an array of zvals without keys. - the elements of packed array are accessible throuf as ht->arPacked[i] instead of ht->arData[i] - in addition to general ZEND_HASH_FOREACH_* macros, we introduced similar familied for packed (ZEND_HASH_PACKED_FORECH_*) and real hashes (ZEND_HASH_MAP_FOREACH_*) - introduced an additional family of macros to access elements of array (packed or real hashes) ZEND_ARRAY_ELEMET_SIZE, ZEND_ARRAY_ELEMET_EX, ZEND_ARRAY_ELEMET, ZEND_ARRAY_NEXT_ELEMENT, ZEND_ARRAY_PREV_ELEMENT - zend_hash_minmax() prototype was changed to compare only values Because of smaller data set, this patch may show performance improvement on some apps and benchmarks that use packed arrays. (~1% on PHP-Parser) TODO: - sapi/phpdbg needs special support for packed arrays (WATCH_ON_BUCKET). - zend_hash_sort_ex() may require converting packed arrays to hash.
show more ...
|
Revision tags: php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32 |
|
#
c9d509b6 |
| 21-Oct-2021 |
Kamil Tekiela |
Revert "Fix bug GH-1 (mysqli_sql_exception->sqlstate is inaccessible)" This reverts commit 64fca5c5f0d18a3fec59a040935a6da5071072af.
|
#
64fca5c5 |
| 21-Oct-2021 |
Kamil Tekiela |
Fix bug GH-1 (mysqli_sql_exception->sqlstate is inaccessible)
|