| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #78179: mysqli/mysqlnd transaction extensions
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
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.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Support NO_BACKSLASH_ESCAPES with newer libmysqlclient
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Support NO_BACKSLASH_ESCAPES with newer libmysqlclient
|
| | |
| | |
| | |
| | | |
Requires the use of mysql_real_escape_string_quote().
|
| | |
| | |
| | |
| | |
| | |
| | | |
is provided
Closes GH-6142.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Use MyISAM engine for new test
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Use MyISAM engine for new test
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Travis on 7.3 is showing this error:
> The size of BLOB/TEXT data inserted in one transaction is greater
> than 10% of redo log size. Increase the redo log size using
> innodb_log_file_size.
Force MyISAM engine to avoid this.
|
| | |
| | |
| | |
| | |
| | | |
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* PHP-7.4:
Fix bug #80107: Handling of large compressed packets
Bug #80107 Add test for mysqli_query() fails for ~16 MB long query when compression is enabled
|
| |\ \
| | |/
| | |
| | |
| | |
| | | |
* PHP-7.3:
Fix bug #80107: Handling of large compressed packets
Bug #80107 Add test for mysqli_query() fails for ~16 MB long query when compression is enabled
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There's two layers of packet splitting going on. First, packets
need to be split into having a payload of exactly 2^24-1 bytes or
being the last packet. If the split packet has size between 2^24-5
and 2^24-1 bytes, the compressed packets also needs to be split,
though the choice of split doesn't matter here. I'm splitting off
the first 8192 bytes, as that's what I observe libmysqlclient to be
doing.
|
| | |
| | |
| | |
| | | |
compression is enabled
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix mysqli_release_savepoint() on mysqlnd
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix mysqli_release_savepoint() on mysqlnd
|
| | |
| | |
| | |
| | | |
mysqli_release_savepoint() was not actually releasing a savepoint...
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
At least for version 8.0 this is warning free now.
|
| | |
| | |
| | |
| | |
| | | |
Given how little maintenance the libmysqlclient driver sees, be
more aggressive in dropping old version support here.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
* PHP-7.4:
pdo_mysql/mysqli (native) libmysqlclient_r no-longer used
mysql: native mysql-8.0 uses _Bool
mysqli: use native api
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
* PHP-7.3:
pdo_mysql/mysqli (native) libmysqlclient_r no-longer used
mysql: native mysql-8.0 uses _Bool
mysqli: use native api
|
| | |
| | |
| | |
| | |
| | |
| | | |
The mysqlclient_r library exists in mysql-5.6 for compatibility only.
Later versions have it removed.
|
| | |
| | |
| | |
| | | |
MySQL-8.0 removes option MYSQLI_OPT_SSL_VERIFY_SERVER_CERT
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Tested with:
* mysql-5.6.49-linux-glibc2.12-x86_64
* mysql-5.7.31-linux-glibc2.12-x86_64
* mysql-8.0.21-linux-glibc2.17-x86_64
* mariadb-10.5.6
configure --with-mysqli=/usr/local/$version/bin/mysql_config --with-pdo-mysql=/usr/local/$version
MySQL-8.0 removed my_bool
Some options where deprecated in mysql-8.0
MY_CHARSET_INFO used with exposed api mysql_get_character_set_info
rather than internal structures.
|
| | |
| | |
| | |
| | | |
Aligning the behaviour of fetch_field and field_seek.
|
| | |
| | |
| | |
| | |
| | |
| | | |
"cannot be used in MYSQLI_USE_RESULT mode" sounds more correct than "cannot be used with MYSQLI_USE_RESULT"
Closes GH-6137.
|
| | |
| | |
| | |
| | | |
follow-up to 7a95e94 for MySQL < 5.6
|
| | |
| | |
| | |
| | | |
Closes GH-5803
|
| | | |
|
| | |
| | |
| | |
| | | |
Closes GH-6110
|
| | |
| | |
| | |
| | | |
The same condition uses Error exceptions in lots of other classes.
|
| | |
| | |
| | |
| | | |
Closes GH-5999
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Remove bogus REGISTER_LONG_CONSTANT
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Remove bogus REGISTER_LONG_CONSTANT
|
| | |
| | |
| | |
| | | |
This shouldn't be in this function, probably a copy/paste mistake...
|
| | |
| | |
| | |
| | |
| | |
| | | |
We have to ensure that the attempted connection to the MySQL server
fails, and do that by passing an unknown host instead of falling back
to localhost.
|
| | |
| | |
| | |
| | |
| | | |
The warning message is rather different there, but since that is
irrelevant for this test case, we just suppress the warning.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There is an edge case in constructor behavior where we can end up
with mysql->mysql being NULL (rather than mysql itself already being
NULL). I think that ultimately that's a bug in the constructor code,
and we should probably be destroying the outer structure on
construction failure as well. However it's pretty hard to unravel
with when considering all the construction permutations.
|
| | |
| | |
| | |
| | | |
By using zpp.
|
| | |
| | |
| | |
| | | |
This method doesn't need any special handling...
|
| | |
| | |
| | |
| | |
| | | |
These are only available as methods. Directly declare them as
such instead of aliasing to functions that don't actually exist.
|
| | |
| | |
| | |
| | | |
Instead use C zpp modifier and throw TypeError.
|
| | |
| | |
| | |
| | | |
Closes GH-5958
|
| | |
| | |
| | |
| | | |
Closes GH-5587
|