| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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"
|
| |
|
| |
|
|
|
|
|
|
| |
preserving of the charset when performing change_user. This is libmysql
only code.
|
|
|
|
|
| |
in 5.3.0-RC3.
|
|
|
|
|
|
|
|
| |
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_RESULT, can be iterated only once, kind of forward iterator
- STORE_RESULT, can be iterated multiple times
|
| |
|
|
|
|
|
| |
mysqli constructor without parameters does not return a working mysqli object
|
| |
|
|
|
|
|
| |
Things like this can be built on top of the core.
|
|
|
|
|
|
| |
due to problems on windows, which were not debugged. Better have
code that is disabled not in the core.
|
|
|
|
|
|
| |
on a upper level and by offloading it we reduce the complexity of
the core.
|
|
|
|
| |
handle. Most of the patch comes from Andrey.
|
|
|
|
|
|
|
| |
be reproduced with PHP 5.0.6. The crash happens only when using the MySQL Client Library (libmysql) - it does not happen
when using mysqlnd.
|
|
|
|
|
| |
Less warnings by usage of proper modifier
|
|
|
|
|
|
| |
can be different on 32 and 64 bit, thus we can't use ld and lld but
C helps us with inttypes.h and PRId64 and PRIu64 modifiers (without the %)
|
|
|
|
|
|
|
|
|
| |
[DOC] This makes mysql_refresh() as described in
http://dev.mysql.com/doc/refman/6.0/en/mysql-refresh.html
available as mysqli_Refresh() and mysqli->refresh()
MYSQLI_REFRESH_BACKUP_LOG is only available when linking libmysql 6.0
or mysqlnd
|
| |
|
|
|
|
|
|
| |
Asynchronous queries for mysqli, when mysqlnd is enabled.
Includes 4 tests for mysqli_poll
|
|
|
|
|
|
|
| |
Now --with-mysql-sock controls all mysql extensions. If provided it will be
the default value as it was set in php.ini . php.ini will override it for
ext/mysql and ext/mysqli but not for pdo_mysql
|
|
|
|
|
|
| |
Add mysqli_stmt_more_result()/mysqli_stmt_next_result(), but only in
mysqlnd builds as libmysql doesn't support this feature.
|
|
|
|
|
|
|
|
|
| |
Bug #44352 mysqli_connect_error() false negative for host errors
From now on the mysqli object doesn't have that magic properties, like
error, which were readable but not visible through isset(), property_exists()
and var_dump(). All other ext/mysqli classes were fixed too.
Now it will be easier to debug mysqli based applications.
|
|
|
|
|
|
|
|
| |
different
configurations one or the another extension to use libmysql or mysqlnd mixed in
one binary
|
|
|
|
|
| |
- Fixed #44371 Extension compile failed
|
|
|
|
|
| |
Fix a leak, bug#39457
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Clearly separated fetching (physical reading) from decoding phases (data
interpretation). Threaded fetching added but disabled as needs more work for
Windows. For Linux needs some touches to add pthreads if this is enabled,
probably with a compile-time switch.
The code reorganisation makes it easy to add also async API, similar to
cURL's one.
|
| |
|
|
|
|
|
|
| |
The underlying functions will be removed from libmysql as of MySQL 6.0, so
it's right time to remove them.
|
| |
|
| |
|
|
Patch ext/mysql and ext/mysqli to support mysqlnd
|