Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | allow persistency of PS | Andrey Hristov | 2010-03-12 | 1 | -5/+3 |
| | |||||
* | Fix for bug#50772 | Andrey Hristov | 2010-01-25 | 1 | -3/+13 |
| | | | | | mysqli constructor without parameters does not return a working mysqli object | ||||
* | Fix build of mysqli when libmysql is used, mysqlnd_portability.h | Andrey Hristov | 2010-01-14 | 1 | -1/+0 |
| | | | | | | | | might not be available for some weird reasons. Added the macros that we need, in that case Code by Jess Portnoy | ||||
* | sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-03 | 1 | -1/+1 |
| | |||||
* | Unify. The typedef-ed structs in mysqlnd are always capitalized. | Andrey Hristov | 2009-12-23 | 1 | -1/+1 |
| | |||||
* | Fix broken build. | Rasmus Lerdorf | 2009-12-01 | 1 | -0/+2 |
| | | | | | This constant is not in older versions of MySQL. | ||||
* | Fix for bug #49965 . Let mysqli_options() try to cast option values to the ↵ | Ulf Wendel | 2009-11-03 | 1 | -5/+79 |
| | | | | appropriate type. | ||||
* | Fixing problems when calling connect (again and again) on a valid connection ↵ | Ulf Wendel | 2009-10-15 | 1 | -18/+27 |
| | | | | handle. Most of the patch comes from Andrey. | ||||
* | Fix mysqli_stmt_attr_set in libmysql mode. | Andrey Hristov | 2009-09-25 | 1 | -1/+1 |
| | | | | | | | mysql_stmt_attr_set returns my_bool instead of int. If it was int, then 0 is success and !0 is failure, but for my_bool 0 (FALSE) is failure and !0 is success. | ||||
* | Remove unused variable | Andrey Hristov | 2009-09-25 | 1 | -1/+0 |
| | |||||
* | Fix error code checking for mysql_stmt_attr_set. There | Andrey Hristov | 2009-09-25 | 1 | -1/+5 |
| | | | | | is a test that checks this. | ||||
* | Fix handling of BIT fields in mysqli, when libmysql is used | Andrey Hristov | 2009-09-22 | 1 | -10/+25 |
| | | | | | | | | We need to use macros from mysqlnd to be able to read the bit fields, as they are specially encoded. mysqlnd is always there, 5.3+, so its macros can be used, even if mysqlnd is not compiled as library of choice. | ||||
* | Fix for bug#48909 Segmentation fault in mysqli_stmt_execute | Andrey Hristov | 2009-09-18 | 1 | -1/+1 |
| | |||||
* | Fix for bug #49357 (MySQLi extension fails to recognize POINT (spatial) ↵ | Ulf Wendel | 2009-09-11 | 1 | -1/+3 |
| | | | | | | | | | | colums). Do yourself a favour and use mysqlnd. mysqlnd has no isuses here. If you insist on using the MySQL Client Library (libmysql) I strongly recommend to use mysqli_stmt_store_result() when fetching geometry data using prepared statements. When streaming data, which is the default for prepared statements, ext/mysqli will have to make a guess on the size of the result buffer it needs. The guess is based on a length reported by the MySQL CLient Library (libmysql). The MySQL Client Library reports 4GB (!) for a POINT - a conservative and safe guess. Consequently, ext/mysqli will try to allocate 4GB of RAM. The true (maximum) size of the column is not available before buffering the result on the client using mysqli_stmt_store_result(). If you call mysqli_stmt_store_result(), the result buffers will not get bigger than needed. However, store_result()/buffering is usually not what you want when you ask for prepared statements. | ||||
* | Stepping back to PHP 5.2.x and earlier logic of allocating even huge pieces ↵ | Ulf Wendel | 2009-09-11 | 1 | -1/+3 |
| | | | | | | | | of memory for large BLOB types to avoid data truncation. This fixes the test failure of 005.phpt when using MySQL Client Library (libmysql). The test does pass with mysqlnd because mysqlnd does not have any issues here. | ||||
* | Fixing a crash which must have existed since PHP 5.0. At least the crash can ↵ | Ulf Wendel | 2009-09-11 | 1 | -2/+2 |
| | | | | | | | 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. | ||||
* | Merge from PHP_5_3 | Jani Taskinen | 2009-08-04 | 1 | -3/+3 |
| | |||||
* | - Fixed bug #49122 (undefined reference to mysqlnd_stmt_next_result on ↵ | Jani Taskinen | 2009-08-02 | 1 | -3/+3 |
| | | | | compile with --with-mysqli and MySQL 6.0) | ||||
* | Add support for mysql_stmt_store_result() from libmysql 6.0.8+ and 5.4.x | Andrey Hristov | 2009-05-29 | 1 | -1/+1 |
| | |||||
* | MFB: This should be in HEAD regradless of uint8_t is available or not | Kalle Sommer Nielsen | 2009-05-28 | 1 | -0/+4 |
| | |||||
* | Fix compiler warnings in ext/mysql, ext/mysqli and ext/pdo_mysql | Kalle Sommer Nielsen | 2009-05-20 | 1 | -4/+4 |
| | |||||
* | - Removed: | Felipe Pena | 2009-03-27 | 1 | -8/+4 |
| | | | | | | | | - UG(unicode) checks - Changed: - ZEND_STR_TYPE -> IS_UNICODE - convert_to_text -> convert_to_unicode | ||||
* | - Export mysql_refresh to mysqli (mysqli_refresh(), $mysqli->refresh()) | Johannes Schlüter | 2009-01-22 | 1 | -0/+16 |
| | |||||
* | Fix #46653 mysqlnd: can't extend mysqli | Johannes Schlüter | 2009-01-09 | 1 | -1/+1 |
| | |||||
* | Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 |
| | |||||
* | Fix for bug#46019 MySQLi::init() leaks memory | Andrey Hristov | 2008-09-19 | 1 | -1/+7 |
| | |||||
* | - Added parameter TSRMLS_DC in zend_is_callable() | Felipe Pena | 2008-08-02 | 1 | -1/+1 |
| | |||||
* | Fix bug#45019 Segmentation fault with SELECT ? and UNION | Andrey Hristov | 2008-07-25 | 1 | -2/+7 |
| | |||||
* | support for closures | Dmitry Stogov | 2008-07-17 | 1 | -4/+4 |
| | |||||
* | Update ext/mysql's and ext/mysqli's tests | Andrey Hristov | 2008-04-24 | 1 | -0/+42 |
| | | | | | | Add mysqli_stmt_more_result()/mysqli_stmt_next_result(), but only in mysqlnd builds as libmysql doesn't support this feature. | ||||
* | Update ext/mysql, ext/mysqli and ext/mysqlnd from development tree | Andrey Hristov | 2008-04-16 | 1 | -8/+6 |
| | |||||
* | Small fix and a test case to prove it | Andrey Hristov | 2008-03-20 | 1 | -2/+4 |
| | |||||
* | Missing lines from the param-bind-non-changing fix | Andrey Hristov | 2008-03-20 | 1 | -19/+60 |
| | |||||
* | MFB - Bug #44352 mysqli_connect_error() false negative for host errors | Andrey Hristov | 2008-03-18 | 1 | -13/+10 |
| | |||||
* | Update mysqlnd, ext/mysql and ext/mysqli - now possible to compile with ↵ | Andrey Hristov | 2008-03-10 | 1 | -19/+19 |
| | | | | | | | | different configurations one or the another extension to use libmysql or mysqlnd mixed in one binary | ||||
* | MFB: | Andrey Hristov | 2008-03-08 | 1 | -1/+1 |
| | | | | | | - Fixed problem with $mysqli->connect() not connecting with defaults - Fixed leak (#39475) | ||||
* | Pconnect working with mysqli_real_connect() | Andrey Hristov | 2008-02-06 | 1 | -81/+6 |
| | |||||
* | Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 |
| | |||||
* | Fix for bug #42548 "PROCEDURE xxx can't return a result set" | Hartmut Holzgraefe | 2007-12-25 | 1 | -0/+2 |
| | |||||
* | Fix crashes with pconn (merge from 5_3) | Andrey Hristov | 2007-11-09 | 1 | -6/+1 |
| | |||||
* | - Fixed invalid handling of float value passed to an integer field on 64bit ↵ | Jani Taskinen | 2007-10-29 | 1 | -1/+6 |
| | | | | machine | ||||
* | commit lost part of the patch | Antony Dovgal | 2007-10-17 | 1 | -1/+2 |
| | |||||
* | use correct dtor and variable for the callback | Antony Dovgal | 2007-10-17 | 1 | -4/+3 |
| | |||||
* | Added macros for managing zval refcounts and is_ref statuses | Yiduo (David) Wang | 2007-10-07 | 1 | -2/+2 |
| | |||||
* | Update mysqlnd in HEAD | Andrey Hristov | 2007-10-02 | 1 | -12/+33 |
| | | | | | Updated ext/mysql and ext/mysqli in HEAD | ||||
* | Import of mysqlnd and ext/mysql + ext/mysqli patched to be built either | Andrey Hristov | 2007-07-24 | 1 | -377/+639 |
| | | | | | | | with libmysql or mysqld. Use --with-mysql=mysqlnd --with-mysqli=mysqlnd to build with mysqlnd. | ||||
* | MFB | Andrey Hristov | 2007-07-24 | 1 | -4/+4 |
| | |||||
* | Fix INFILE LOCAL option handling with MySQL - now not allowed when open_basedir | Stanislav Malyshev | 2007-06-18 | 1 | -3/+9 |
| | | | | | is active | ||||
* | use default socket (removed by mistake?) | Antony Dovgal | 2007-04-14 | 1 | -0/+4 |
| | |||||
* | MFB: fix crash/leak in bug #38710 | Stanislav Malyshev | 2007-03-08 | 1 | -1/+10 |
| |