Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix mysqli build when building against libmysqlclient. | Adam Harvey | 2014-05-02 | 1 | -0/+8 |
| | |||||
* | Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6 | Andrey Hristov | 2014-04-10 | 1 | -20/+26 |
|\ | | | | | | | | | Conflicts: ext/mysqli/tests/mysqli_begin_transaction.phpt | ||||
| * | Merge branch 'PHP-5.5' into PHP-5.6 | Andrey Hristov | 2014-03-20 | 1 | -20/+26 |
| |\ | |||||
| | * | Emit a warning in case of unallowed characters. Fix another place this | Andrey Hristov | 2014-03-20 | 1 | -20/+26 |
| | | | | | | | | | | | | code is used - reuse | ||||
| | * | Bump year | Xinchen Hui | 2014-01-03 | 1 | -1/+1 |
| | | | |||||
* | | | New result fetching mode for mysqlnd, which should use less memory but | Andrey Hristov | 2014-04-10 | 1 | -5/+10 |
|/ / | | | | | | | | | | | | | | | implies more memory copy. The old method is still available and can be used. It stays as default. Choosing the method is through a flag to mysqli_query()/mysqli_real_query() New mode can be forced with an INI setting, for all extensions that support this mode (ext/mysql and mysqli, because PDO due to it's architecture can't support it) The setting is mysqlnd.fetch_data_copy=[0|1] | ||||
* | | Add new INI for rollbacking connections put back into the pconn pool | Andrey Hristov | 2014-01-29 | 1 | -0/+17 |
| | | | | | | | | | | as well a function get the the statistics in easier way than ob_start() and parsing phpinfo(). | ||||
* | | Bump year | Xinchen Hui | 2014-01-03 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'PHP-5.4' into PHP-5.5 | Andrey Hristov | 2013-12-04 | 1 | -1/+1 |
|\ | |||||
| * | Fix loss of precision | Andrey Hristov | 2013-12-04 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'PHP-5.4' into PHP-5.5 | Johannes Schlüter | 2013-07-03 | 1 | -2/+2 |
|\ \ | |/ | | | | | | | Conflicts: Zend/acinclude.m4 | ||||
| * | Make sure result is initilized | Johannes Schlüter | 2013-07-03 | 1 | -2/+2 |
| | | | | | | | | | | Practically this could only be an issue when overriding mysqlnd from an extension, but makes static analysis happy | ||||
| * | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | | |||||
* | | relax the check | Andrey Hristov | 2013-02-22 | 1 | -1/+1 |
| | | |||||
* | | Add some parameter checks | Andrey Hristov | 2013-02-22 | 1 | -5/+22 |
| | | |||||
* | | mysqli_savepoint()/mysqli_release_savepoint() | Andrey Hristov | 2013-02-08 | 1 | -1/+70 |
| | | |||||
* | | Add support for begin_transaction in libmysql mode. | Andrey Hristov | 2013-02-07 | 1 | -0/+76 |
| | | | | | | | | Add support for flags and name for commit/rollback in libmysql mode | ||||
* | | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'PHP-5.4' into PHP-5.5 | Xinchen Hui | 2012-11-30 | 1 | -2/+8 |
|\ \ | |/ | |||||
| * | Merge branch 'PHP-5.3' into PHP-5.4 | Xinchen Hui | 2012-11-30 | 1 | -2/+8 |
| |\ | |||||
| | * | Fixed bug #63398 (Segfault when polling closed link) | Xinchen Hui | 2012-11-30 | 1 | -2/+8 |
| | | | |||||
* | | | Add SHA256 authentication support - password hashing to mysqlnd | andrey | 2012-09-25 | 1 | -1/+1 |
| | | | | | | | | | | | | Automatic switchover to SSL with plain-text password is not part of this | ||||
* | | | Merge branch 'PHP-5.4' | Xinchen Hui | 2012-08-22 | 1 | -0/+5 |
|\ \ \ | |/ / | |||||
| * | | Merge branch 'PHP-5.3' into PHP-5.4 | Xinchen Hui | 2012-08-22 | 1 | -0/+5 |
| |\ \ | | |/ | |||||
| | * | Fixed bug #62885 (mysqli_poll - Segmentation fault) | Xinchen Hui | 2012-08-22 | 1 | -0/+5 |
| | | | |||||
| | * | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | | | |||||
| | * | prevent a crash if cs is NULL, which can happen with MS and lazy connections | Andrey Hristov | 2011-08-12 | 1 | -1/+5 |
| | | | |||||
| | * | Fix for bug #55283 SSL options set by mysqli_ssl_set ignored for MySQLi ↵ | Andrey Hristov | 2011-08-05 | 1 | -4/+6 |
| | | | | | | | | | | | | persistent connections | ||||
| | * | Proper fix for | Andrey Hristov | 2011-01-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| | * | - Year++ | Felipe Pena | 2011-01-01 | 1 | -1/+1 |
| | | | |||||
| | * | Fixed bug #53425 (mysqli_real_connect() ignores client flags when built to ↵ | Kalle Sommer Nielsen | 2010-12-12 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | call libmysql) # Based on patch by tre-php-net at crushedhat dot com | ||||
| | * | Fixed bug #53503 (mysqli::query returns false after successful LOAD DATA query) | Kalle Sommer Nielsen | 2010-12-12 | 1 | -1/+1 |
| | | | |||||
| | * | Fix bad types, because zend_parse_xxx expect signed integers | Andrey Hristov | 2010-11-10 | 1 | -14/+14 |
| | | | | | | | | | | | | | | | for lengths, no matter how stupid this is :) | ||||
| | * | Sorry for the commit but compiler warnings are annoying and so are white ↵ | Ulf Wendel | 2010-10-04 | 1 | -32/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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" | ||||
| | * | Fix leak with persistent connections when using mysqli.default_host is used | Ulf Wendel | 2010-10-01 | 1 | -4/+5 |
| | | | |||||
| | * | Plug a leak in mysqli when in the same script | Andrey Hristov | 2010-09-30 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | | | | | | | a pconn is reused. Call end_psession earlier - so will mysqlnd and the plugins free data earlier. | ||||
| | * | Fix for bug #52654 mysqli doesn't install headers with structures it uses | Andrey Hristov | 2010-08-20 | 1 | -0/+1 |
| | | | |||||
| | * | Add checks to check the underlying pointer in the resource. | Andrey Hristov | 2010-05-26 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| | * | Remove duplicated code. | Andrey Hristov | 2010-05-18 | 1 | -31/+0 |
| | | | | | | | | | | | | | | | Use one centralized functions for data extraction. | ||||
| | * | Better fix for #51605 | Andrey Hristov | 2010-05-13 | 1 | -2/+2 |
| | | | |||||
| | * | Fix a segfault when using a mysqli object after unsuccesssful connect, the | Andrey Hristov | 2010-03-24 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | handle should have been allocated with mysqli_init(). | ||||
| * | | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | | | |||||
| * | | Split struct MYSQLND in struct MYSQLND and struct MYSQLD_CONN_DATA. | Andrey Hristov | 2011-10-31 | 1 | -6/+12 |
| | | | | | | | | | | | | | | | A step in the direction of keeping internal data private | ||||
| * | | Move from directly referencing an aggregated structure to using a | Andrey Hristov | 2011-10-25 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | pointer to a structure. The structure is still aggregated but we add a level of indirection for possible plugins to overwrite the storage | ||||
| * | | prevent a crash if cs is NULL, which can happen with MS and lazy connections | Andrey Hristov | 2011-08-12 | 1 | -1/+5 |
| | | | |||||
| * | | Fix for bug #55283 SSL options set by mysqli_ssl_set ignored for MySQLi ↵ | Andrey Hristov | 2011-08-05 | 1 | -4/+6 |
| | | | | | | | | | | | | persistent connections | ||||
| * | | Add mysqli_error_list() that returns an array with errors. Typically only | Andrey Hristov | 2011-08-04 | 1 | -0/+88 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | | Remove support for local infile handler in mysqli from 5.5 | andrey | 2012-05-03 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | | | |||||
* | | | Split struct MYSQLND in struct MYSQLND and struct MYSQLD_CONN_DATA. | Andrey Hristov | 2011-10-31 | 1 | -6/+12 |
| | | | | | | | | | | | | | | | A step in the direction of keeping internal data private |