summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_nonapi.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix mysqli build when building against libmysqlclient.Adam Harvey2014-05-021-0/+8
|
* Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6Andrey Hristov2014-04-101-20/+26
|\ | | | | | | | | Conflicts: ext/mysqli/tests/mysqli_begin_transaction.phpt
| * Merge branch 'PHP-5.5' into PHP-5.6Andrey Hristov2014-03-201-20/+26
| |\
| | * Emit a warning in case of unallowed characters. Fix another place thisAndrey Hristov2014-03-201-20/+26
| | | | | | | | | | | | code is used - reuse
| | * Bump yearXinchen Hui2014-01-031-1/+1
| | |
* | | New result fetching mode for mysqlnd, which should use less memory butAndrey Hristov2014-04-101-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 poolAndrey Hristov2014-01-291-0/+17
| | | | | | | | | | as well a function get the the statistics in easier way than ob_start() and parsing phpinfo().
* | Bump yearXinchen Hui2014-01-031-1/+1
|/
* Merge branch 'PHP-5.4' into PHP-5.5Andrey Hristov2013-12-041-1/+1
|\
| * Fix loss of precisionAndrey Hristov2013-12-041-1/+1
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Johannes Schlüter2013-07-031-2/+2
|\ \ | |/ | | | | | | Conflicts: Zend/acinclude.m4
| * Make sure result is initilizedJohannes Schlüter2013-07-031-2/+2
| | | | | | | | | | Practically this could only be an issue when overriding mysqlnd from an extension, but makes static analysis happy
| * Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | relax the checkAndrey Hristov2013-02-221-1/+1
| |
* | Add some parameter checksAndrey Hristov2013-02-221-5/+22
| |
* | mysqli_savepoint()/mysqli_release_savepoint()Andrey Hristov2013-02-081-1/+70
| |
* | Add support for begin_transaction in libmysql mode.Andrey Hristov2013-02-071-0/+76
| | | | | | | | Add support for flags and name for commit/rollback in libmysql mode
* | Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2012-11-301-2/+8
|\ \ | |/
| * Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-11-301-2/+8
| |\
| | * Fixed bug #63398 (Segfault when polling closed link)Xinchen Hui2012-11-301-2/+8
| | |
* | | Add SHA256 authentication support - password hashing to mysqlndandrey2012-09-251-1/+1
| | | | | | | | | | | | Automatic switchover to SSL with plain-text password is not part of this
* | | Merge branch 'PHP-5.4'Xinchen Hui2012-08-221-0/+5
|\ \ \ | |/ /
| * | Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-08-221-0/+5
| |\ \ | | |/
| | * Fixed bug #62885 (mysqli_poll - Segmentation fault)Xinchen Hui2012-08-221-0/+5
| | |
| | * - Year++Felipe Pena2012-01-011-1/+1
| | |
| | * prevent a crash if cs is NULL, which can happen with MS and lazy connectionsAndrey Hristov2011-08-121-1/+5
| | |
| | * Fix for bug #55283 SSL options set by mysqli_ssl_set ignored for MySQLi ↵Andrey Hristov2011-08-051-4/+6
| | | | | | | | | | | | persistent connections
| | * Proper fix forAndrey Hristov2011-01-071-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 Pena2011-01-011-1/+1
| | |
| | * Fixed bug #53425 (mysqli_real_connect() ignores client flags when built to ↵Kalle Sommer Nielsen2010-12-121-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 Nielsen2010-12-121-1/+1
| | |
| | * Fix bad types, because zend_parse_xxx expect signed integersAndrey Hristov2010-11-101-14/+14
| | | | | | | | | | | | | | | for lengths, no matter how stupid this is :)
| | * Sorry for the commit but compiler warnings are annoying and so are white ↵Ulf Wendel2010-10-041-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 usedUlf Wendel2010-10-011-4/+5
| | |
| | * Plug a leak in mysqli when in the same scriptAndrey Hristov2010-09-301-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 usesAndrey Hristov2010-08-201-0/+1
| | |
| | * Add checks to check the underlying pointer in the resource.Andrey Hristov2010-05-261-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 Hristov2010-05-181-31/+0
| | | | | | | | | | | | | | | Use one centralized functions for data extraction.
| | * Better fix for #51605Andrey Hristov2010-05-131-2/+2
| | |
| | * Fix a segfault when using a mysqli object after unsuccesssful connect, the Andrey Hristov2010-03-241-1/+4
| | | | | | | | | | | | | | | handle should have been allocated with mysqli_init().
| * | - Year++Felipe Pena2012-01-011-1/+1
| | |
| * | Split struct MYSQLND in struct MYSQLND and struct MYSQLD_CONN_DATA.Andrey Hristov2011-10-311-6/+12
| | | | | | | | | | | | | | | A step in the direction of keeping internal data private
| * | Move from directly referencing an aggregated structure to using aAndrey Hristov2011-10-251-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 connectionsAndrey Hristov2011-08-121-1/+5
| | |
| * | Fix for bug #55283 SSL options set by mysqli_ssl_set ignored for MySQLi ↵Andrey Hristov2011-08-051-4/+6
| | | | | | | | | | | | persistent connections
| * | Add mysqli_error_list() that returns an array with errors. Typically onlyAndrey Hristov2011-08-041-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.5andrey2012-05-031-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 Pena2012-01-011-1/+1
| | |
* | | Split struct MYSQLND in struct MYSQLND and struct MYSQLD_CONN_DATA.Andrey Hristov2011-10-311-6/+12
| | | | | | | | | | | | | | | A step in the direction of keeping internal data private