History log of /PHP-8.1/ext/mysqli/mysqli_nonapi.c (Results 1 – 25 of 264)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 5b603709 27-Oct-2022 Kamil Tekiela

mysqli_query throws warning despite using silenced error mode (#9842)


Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1
# 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.0, php-7.3.33
# 15a2c866 09-Nov-2021 Kamil Tekiela

mysqli_reap_async_query error reporting (#7629)

Revision tags: php-7.3.32, php-7.3.31, php-7.3.30, php-7.3.29
# 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.

# 312b7290 26-May-2021 Nikita Popov

Convert some instanceof checks to assertions

Again, $this must be instanceof self.

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

# 54222a6f 01-May-2021 Kamil Tekiela

Implement mysqli_fetch_column (#6798)

* Implement mysqli_fetch_column

Revision tags: php-7.3.28
# 830d3853 28-Mar-2021 Kamil Tekiela

Fix typos in fetch_all error message

# 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-7.3.27
# 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 ...

Revision tags: php-7.3.26
# 037512cf 18-Dec-2020 Nikita Popov

Move fetch_all implementation out of mysqlnd

There doesn't seem to be any compelling reason to implement this
in mysqlnd rather than mysqli. It's just a loop over fetch_into.

Th

Move fetch_all implementation out of mysqlnd

There doesn't seem to be any compelling reason to implement this
in mysqlnd rather than mysqli. It's just a loop over fetch_into.

This makes the function available under libmysqlclient as well,
and thus fixes bug #79372.

show more ...

Revision tags: php-7.3.26RC1
# 33e90491 14-Dec-2020 Nikita Popov

MySQLnd: Clean up and optimize mysqlnd result set handling

This is a larger overhaul of the mysqlnd result set infrastructure:

* Drop support for two different types of buffered re

MySQLnd: Clean up and optimize mysqlnd result set handling

This is a larger overhaul of the mysqlnd result set infrastructure:

* Drop support for two different types of buffered results sets
("c" and "zval"). Possibly these made sense at some earlier
time, but now (with minor adjustments) one option is strictly
worse than the other. Buffered result sets already buffer the
full row packets, from which zvals can be decoded. The "zval"
style additionally also buffered the decoded zvals. As result
sets, even buffered ones, are generally only traversed once,
this just ends up wasting memory. Now, a potentially useful
variation here would be to buffer the decoded zvals instead of
the row packets, but that's not what the code was doing.
* To make it really strictly better, pre-allocate the zval row
buffer and reuse it for all rows. Previously the "c" style always
allocated a new buffer for each row.
* The fetch_row API now provides a populated zval[]. The task of
populating an array is deferred to fetch_row_into, which also
avoids duplicating this code in multiple places. The fetch_row_c
API is also implemented on top of fetch_row now, rather than
duplicating large parts of the code.
* The row fetching code for prepared statements and normal result
sets has been mostly merged. These already used the same
infrastructure, but prepared statements used separate row
fetching functions that were nearly the same as the normal ones.
This requires passing the stmt into the result set, rather than
just a flag. The only part that remains separate is reading of
unbuffered results in the presence of PS cursors.

show more ...

Revision tags: php-7.3.25, php-7.3.25RC1, php-7.3.24
# 7e6b8407 14-Oct-2020 Dharman

Consistent error handling in mysqli_poll

This error condition should not actually be reachable, but change
it to be consistent with the other ones.

Also fix a memory leak.

Consistent error handling in mysqli_poll

This error condition should not actually be reachable, but change
it to be consistent with the other ones.

Also fix a memory leak.

Closes GH-6340.

show more ...

# d6264b09 13-Oct-2020 Máté Kocsis

Verify parameter names of function aliases

Closes GH-6335

# d66e9299 13-Oct-2020 Nikita Popov

Fix null handling in mysqli_begin_transaction()

We don't want an explicit null name hit the !name_len check.

Revision tags: php-7.3.24RC1, php-7.3.23
# e950ca13 20-Sep-2020 Máté Kocsis

Consolidate the usage of "either" and "one of" in error messages

Closes GH-6173

# b40ffa9b 18-Sep-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix #78179: mysqli/mysqlnd transaction extensions


# f2316458 18-Sep-2020 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix #78179: mysqli/mysqlnd transaction extensions


Revision tags: php-7.3.23RC1, php-7.3.22, php-7.3.22RC1, php-7.3.21, php-7.3.21RC1
# 740f0f61 21-Jul-2020 Daniel Black

Fix #78179: mysqli/mysqlnd transaction extensions

MariaDB versioning created a mess with regarding testing
features based on version. We sidestep the problem here
by assuming the ext

Fix #78179: mysqli/mysqlnd transaction extensions

MariaDB versioning created a mess with regarding testing
features based on version. We sidestep the problem here
by assuming the extensions are present, and if a syntax
error occurs with a SQL mode TRANS_START_READ_WRITE |
TRANS_START_READ_ONLY enabled, then output the same
warning as before.

show more ...

# 74d16999 16-Sep-2020 Dharman

mysqli_set_charset now throws an mysqli_sql_exception when incorrect charset is provided

Closes GH-6142.

# e9ac7d27 17-Sep-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix mysqli_release_savepoint() on mysqlnd


# 33069575 17-Sep-2020 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix mysqli_release_savepoint() on mysqlnd


# c3944c4c 17-Sep-2020 Nikita Popov

Fix mysqli_release_savepoint() on mysqlnd

mysqli_release_savepoint() was not actually releasing a savepoint...

# 3ad57f9f 17-Sep-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
pdo_mysql/mysqli (native) libmysqlclient_r no-longer used
mysql: native mysql-8.0 uses _Bool
mysqli: use native api


1234567891011