summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_nonapi.c
Commit message (Collapse)AuthorAgeFilesLines
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* 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
| |
* | 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
* | Change things to allow passing of the password lengthAndrey Hristov2011-01-141-1/+1
| | | | | | | | | | | | | | to mysqlnd. This is needed as a password might include a \0 and thus we need to be binary safe.
* | 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-31/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| |
* | Remove a function that has no usage. The zval cache was disabled/removedAndrey Hristov2010-05-261-12/+0
| | | | | | | | | | in 5.3.0-RC3.
* | 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-30/+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().
* Fix for bug#50772 Andrey Hristov2010-01-251-1/+2
| | | | | mysqli constructor without parameters does not return a working mysqli object
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* Unify. The typedef-ed structs in mysqlnd are always capitalized.Andrey Hristov2009-12-231-1/+1
|
* Remove the zval caching from mysqlnd. It was disabled versions agoAndrey Hristov2009-12-091-3/+3
| | | | | | due to problems on windows, which were not debugged. Better have code that is disabled not in the core.
* Remove disabled code - threaded fetching. This can be implementedAndrey Hristov2009-12-091-15/+1
| | | | | | on a upper level and by offloading it we reduce the complexity of the core.
* Fix bug #49098Rasmus Lerdorf2009-11-121-1/+5
|
* Making mysqlnd emit no warnings when fetching pooled persistent connections ↵Ulf Wendel2009-10-151-1/+1
| | | | that have timed out or are unusable for any other reason - bug #49761
* Fixing problems when calling connect (again and again) on a valid connection ↵Ulf Wendel2009-10-151-18/+6
| | | | handle. Most of the patch comes from Andrey.