| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* PHP-7.3:
Fix MySQL local infile / attr handling on big endian systems
|
| |
| |
| |
| |
| |
| | |
Make sure pointer types match what is used by libmysql everywhere.
Closes GH-5380.
|
| |
| |
| |
| | |
Handle errors appearing in different order.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix test for Windows
|
| |
| |
| |
| |
| | |
Windows filenames may very well contain a colon, so we adjust the test
accordingly.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Enclose INI values containing {TMP} in quotes
|
| |
| |
| |
| |
| | |
At least on Windows, the temporary directory may contain tilde signs,
which would result in an INI parse error.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #64032: mysqli reports different client_version
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
While `mysqli_get_client_version()` calls `mysql_get_client_version()`
to retrieve the client version, `mysql::$client_version` is initialized
to `MYSQL_VERSION_ID`. Both should match though, and since the former
is the more useful information, we fix `mysql::$client_version`.
We do not add a regression test, because it would usually succeed
anyway, and we already have several tests with respective `assert()`s.
|
| |
| |
| |
| | |
Closes GH-5121
|
| |
| |
| |
| |
| |
| | |
In this case warning_count may be non-zero, but php_get_warnings()
may still return no warnings. In this case we should return false
rather than returning a corrupted mysqli_warning object.
|
| |
| |
| |
| |
| | |
Specifying AES256-SHA results in TLS_AES_256_GCM_SHA384 if the
connection uses TLS v1.3.
|
| |
| |
| |
| |
| | |
The 2000 here is 2ms, which is a bit optimistic for parallelized
testing.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #79084: mysqlnd may fetch wrong column indexes with MYSQLI_BOTH
|
| |
| |
| |
| |
| |
| | |
Column names can be numeric strings, so we have to make sure to insert
the column values with the appropriate numeric keys, instead of adding
them.
|
| |
| |
| |
| |
| |
| |
| |
| | |
We use the portable {TMP} instead of the hard-coded /tmp, and skip
mysqli_debug_append.phpt on Windows, because unlinking the trace file
while the connection is still open won't work there.
(cherry picked from commit 60081ca20d5701111de5f94ae64909b1cc265f1e)
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These test cases have recently been adjusted to work with MySQL 8[1],
but some older, but still supported database versions, such as MySQL
5.6, still need the password to be sent hashed, so we fall back to
using `PASSWORD()`, if the `SET PASSWORD` query fails without it.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=b0efd18f7844da29931737b8a1cf461c7493e168>.
|
| |
| |
| |
| | |
Doesn't exist anymore in MySQL 8.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The behavior of this is very dependent on the MySQL vendor, MySQL
version and MySQL configuration, in particular the
explicit_defaults_for_timestamp variable.
I don't think it's worthwhile to try and model this exactly, so
drop the test.
|
| |
| |
| |
| |
| | |
Apparently this only existed for a short time, because it was
found to be insecure. Don't try to test it.
|
| |
| |
| |
| | |
The function has been renamed to ST_GeomFromText.
|
| |
| |
| |
| |
| |
| |
| |
| | |
First, make sure the tests are skipped if we connect via unix
socket, as we can't use SSL in that case.
Second, use a cipher that is not blacklisted in current MySQL
versions.
|
| |
| |
| |
| |
| |
| | |
We use the portable {TMP} instead of the hard-coded /tmp, and skip
mysqli_debug_append.phpt on Windows, because unlinking the trace file
while the connection is still open won't work there.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* pack() only requires one argument
* stream_context_set_option() only requires two arguments
* ReflectionMethod::getClosure() accepts no args for static methods
* DOMDocument::createProcessingInstruction() only requires one arg
* DOMImplementation::createDocument() only requires two arguments
* DOMDocument::importNode() only requires one arg
* mysql_get_client_version() doesn't accept any args,
despite what the docs say...
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix bug #76809 (SSL settings aren't respected when persistent connection is reused)
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.2:
Fix bug #76809 (SSL settings aren't respected when persistent connection is reused)
|
| | |
| | |
| | |
| | | |
reused)
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.3:
Fixed test that "fails" from time to time
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.2:
Fixed test that "fails" from time to time
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.3:
Fixed test that "fails" from time to time
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.2:
Fixed test that "fails" from time to time
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.3:
Fix SKIPIF in ext/mysqli
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.2:
Fix SKIPIF in ext/mysqli
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.3:
fix the problem for connect_attr, set db condition, and add a new attribute _server_host
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.2:
fix the problem for connect_attr, set db condition, and add a new attribute _server_host
|
| | |
| | |
| | |
| | | |
_server_host
|
| | |
| | |
| | |
| | |
| | | |
Apparently, nobody is testing with MySQL < 5.6 for quite a while. We
should consider dropping support for these very old versions.
|
| | |
| | |
| | |
| | | |
Closes GH-4441
|
| | |
| | |
| | |
| | | |
Closes GH-4415
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
All information can already be retrieved using the APIs at https://www.php.net/manual/en/mysqlnd.stats.php. Closes https://bugs.php.net/bug.php?id=60594
|