| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
Instead use C zpp modifier and throw TypeError.
|
| | |
| | |
| | |
| | | |
Closes GH-5958
|
| | |
| | |
| | |
| | | |
Closes GH-5587
|
| | |
| | |
| | |
| | | |
Closes GH-5590
|
| | |
| | |
| | |
| | | |
Closes GH-5804
|
| | |
| | |
| | |
| | | |
Closes GH-5779
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Userland classes that implement Traversable must do so either
through Iterator or IteratorAggregate. The same requirement does
not exist for internal classes: They can implement the internal
get_iterator mechanism, without exposing either the Iterator or
IteratorAggregate APIs. This makes them usable in get_iterator(),
but incompatible with any Iterator based APIs.
A lot of internal classes do this, because exposing the userland
APIs is simply a lot of work. This patch alleviates this issue by
providing a generic InternalIterator class, which acts as an
adapater between get_iterator and Iterator, and can be easily
used by many internal classes. At the same time, we extend the
requirement that Traversable implies Iterator or IteratorAggregate
to internal classes as well.
Closes GH-5216.
|
| | |
| | |
| | |
| | | |
Closes GH-5759
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
From now on, we always display the given object's type instead of just reporting "object".
Additionally, make the format of return type errors match the format of argument errors.
Closes GH-5625
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This test creates a MySQL table called 'test'. In several cases, I have seen a spurious
test failure (in CI) with an error message saying: "table 'test' already exists".
It may be that another test had used a table with the same name and not cleaned it out
correctly. Or maybe we have multiple tests running in parallel in some CI environments,
or the same test DB being used for multiple runs of the test suite.
In any case, change the table name so it is exclusive to this test case only. Also, if
the test table exists at the beginning of the test, drop it.
Closes GH-5479
|
| | |
| | |
| | |
| | | |
This reverts commit 45cb42166d4a53fe0154be08097f112d6ec72a27.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Make mysqli_poll test more deterministic
|
| | |
| | |
| | |
| | | |
Handle errors appearing in different order.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix test for Windows
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix test for Windows
|
| | |
| | |
| | |
| | |
| | | |
Windows filenames may very well contain a colon, so we adjust the test
accordingly.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Enclose INI values containing {TMP} in quotes
|
| |\ \
| | |/
| | |
| | |
| | | |
* 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.
|
| | |
| | |
| | |
| | | |
Closes GH-5211
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
var_dump() is debugging functionality, so it should print
floating-point numbers accurately. We do this by switching
to serialize_precision, which (by default) will print with
as much precision as necessary to preserve the exact value
of the float.
This also affects debug_zval_dump().
Closes GH-5172.
|
| | | |
|
| | |
| | |
| | |
| | | |
Closes GH-5092
|
| | | |
|
| | |
| | |
| | |
| | | |
Closes GH-5058
|
|\ \ \
| |/ /
| | |
| | | |
* Fix #78666 mysqli_options generates Warning on var_dump()
|
| | |
| | |
| | |
| | | |
Closes GH-5121
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix mysqli_get_warnings() with multi queries
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix mysqli ssl test for tls1.3
|
| | |
| | |
| | |
| | |
| | | |
Specifying AES256-SHA results in TLS_AES_256_GCM_SHA384 if the
connection uses TLS v1.3.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Increase timeout in mysqli_reap_async_query test
|
| | |
| | |
| | |
| | |
| | | |
The 2000 here is 2ms, which is a bit optimistic for parallelized
testing.
|
| | |
| | |
| | |
| | | |
Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #79084: mysqlnd may fetch wrong column indexes with MYSQLI_BOTH
|
| |\ \
| | |/
| | |
| | |
| | | |
* 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)
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Bring back test case support for older MySQL versions
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Although the `mysqli` parameter is unused, it had been accepted so far,
and the documentation even claims that parameter would be required. To
not break BC, we allow it again.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* PHP-7.4:
Don't use PASSWORD() function in test
Specify explicit row order in PDO MySQL test
Skip bug77956.phpt if local_infile disabled on server
Don't check TIMESTAMP NOT NULL in fetch_field_flags test
Don't test the RENAME DATABASE query
Make GeomFromText tests compatible with MySQL 8
|
| | |
| | |
| | |
| | | |
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.
|