| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |\ |
|
| | | |
|
| |\ \
| |/
| |
| |
| | |
Conflicts:
Zend/acinclude.m4
|
| | |
| |
| |
| |
| | |
Practically this could only be an issue when overriding mysqlnd from
an extension, but makes static analysis happy
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
Add support for flags and name for commit/rollback in libmysql mode
|
| | | |
|
| |\ \
| |/ |
|
| | |\ |
|
| | | | |
|
| | | |
| | |
| | |
| | | |
Automatic switchover to SSL with plain-text password is not part of this
|
| |\ \ \
| |/ / |
|
| | |\ \
| | |/ |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | | |
persistent connections
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug #53503 mysqli::query returns false after successful LOAD DATA query
which fixes als #56349, same behavior but in ext/mysql. Both due to a bug
in mysqlnd. Never was a problem with libmysql.
Also fixed the 53503's test case as it always reported PASS, even when there
should have been a failure.
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
call libmysql)
# Based on patch by tre-php-net at crushedhat dot com
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
for lengths, no matter how stupid this is :)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
spaces at the end of a line, if one uses an editor which removes them on save and diff's get blown
up by white space changes...
Changes:
- remove end of line white space
- fix compiler warning "ext/mysqli/mysqli_priv.h:156:27: warning: no newline at end of file"
- fix compiler warning "ext/mysqli/mysqli_fe.h:135:25: warning: no newline at end of file"
- fix compiler warning "ext/mysqli/mysqli.c:896:11: warning: extra tokens at end of #ifdef directive"
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
a pconn is reused.
Call end_psession earlier - so will mysqlnd and
the plugins free data earlier.
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It can happen that the underlying pointer is freed (like in
the case of connection reconnect), and then it cannot be allocated
anymore, which means that NULL will be used consequently by the
functions that fetch the resource and the crash is immediate.
|
| | | |
| | |
| | |
| | |
| | | |
Use one centralized functions for data extraction.
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
handle should have been allocated with mysqli_init().
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
A step in the direction of keeping internal data private
|
| | | |
| | |
| | |
| | |
| | |
| | | |
pointer to a structure. The structure is still aggregated but we add
a level of indirection for possible plugins to overwrite the storage
|
| | | | |
|
| | | |
| | |
| | |
| | | |
persistent connections
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
one and just one for libmysql. mysqlnd can return generate more than one error
during its work and with mysqli_error() only the last error is being reported.
In the array returned by mysqli_error_list() / $mysqli->error_list, all errors will be found.
The list is reset when the next command is executed
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This removes the following functions from the API:
mysqli_set_local_infile_default()
mysqli_set_local_infile_handler()
Using these functions is known to be lead to stability problems in
mysqli. It was only enabled when compiling against libmysql. mysqlnd
doesn't have this support for local infile. However, with mysqlnd it can
be emulated by using stream handlers like in:
$c->query("LOAD DATA LOCAL INFILE "http://example.com/import.csv" INTO ...")
All available protocols, as well as user implemented ones can be added.
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
A step in the direction of keeping internal data private
|
| | | |
| | |
| | |
| | |
| | |
| | | |
pointer to a structure. The structure is still aggregated but we add
a level of indirection for possible plugins to overwrite the storage
|
| | | | |
|
| | | |
| | |
| | |
| | | |
persistent connections
|
| |/ /
| |
| |
| |
| |
| |
| |
| | |
one and just one for libmysql. mysqlnd can return generate more than one error
during its work and with mysqli_error() only the last error is being reported.
In the array returned by mysqli_error_list() / $mysqli->error_list, all errors will be found.
The list is reset when the next command is executed
|
| | |
| |
| |
| |
| |
| |
| | |
to mysqlnd. This is needed as a password might include
a \0 and thus we need to be binary safe.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug #53503 mysqli::query returns false after successful LOAD DATA query
which fixes als #56349, same behavior but in ext/mysql. Both due to a bug
in mysqlnd. Never was a problem with libmysql.
Also fixed the 53503's test case as it always reported PASS, even when there
should have been a failure.
|
| | | |
|