History log of /PHP-8.3/ext/mysqli/mysqli.c (Results 1 – 25 of 394)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# a59868ae 16-May-2024 Kamil Tekiela

Clear mysql error in fetch_into

Closes GH-14256


# 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)


Revision tags: php-7.4.25, php-8.0.12, php-8.1.0RC4
# fcabe693 08-Oct-2021 Nikita Popov

Fixed bug #81494

Use the proper error reporting mechanism rather than throwing a
warning. This requires something of a hack because we don't have
direct access to the connection obje

Fixed bug #81494

Use the proper error reporting mechanism rather than throwing a
warning. This requires something of a hack because we don't have
direct access to the connection object at this point.

show more ...


Revision tags: php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3
# 5c13587a 22-Sep-2021 Kamil Tekiela

Remove php_mysqli_persistent_helper_once (#7507)


Revision tags: 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, 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
# b0961f2d 26-May-2021 Nikita Popov

Remove uses of TRUE/FALSE in mysqli/pdo_mysql

Replace with standard uses of true/false.


Revision tags: php-8.0.7RC1, php-7.4.20RC1
# 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 ...


12345678910>>...16