summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_ps.c
Commit message (Collapse)AuthorAgeFilesLines
* Use callback structureAndrey Hristov2014-08-061-5/+4
|
* Merge branch 'PHP-5.5' into PHP-5.6Andrey Hristov2014-08-061-17/+34
|\ | | | | | | | | | | | | Conflicts: ext/fileinfo/data_file.c ext/fileinfo/libmagic/softmagic.c ext/fileinfo/magicdata.patch
| * Merge branch 'PHP-5.4' into PHP-5.5Andrey Hristov2014-08-061-17/+34
| |\ | | | | | | | | | | | | | | | | | | Conflicts: NEWS configure.in main/php_version.h
| | * Fix handling of multi-result sets with PS...used to clean not onlyAndrey Hristov2014-08-061-17/+34
| | | | | | | | | | | | the result set but the whole PS.
| | * Bump yearXinchen Hui2014-01-031-1/+1
| | |
| * | Bump yearXinchen Hui2014-01-031-1/+1
| | |
* | | New result fetching mode for mysqlnd, which should use less memory butAndrey Hristov2014-04-101-82/+89
| | | | | | | | | | | | | | | | | | | | | | | | 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]
* | | DIAndrey Hristov2014-03-101-0/+6
| | |
* | | Refactor the result set data structures. Move more to the buffered and ↵Andrey Hristov2014-03-051-40/+36
| | | | | | | | | | | | | | | | | | | | | unbuffered substructures. Add methods to these too. Preparing for pluggable interface for returning data to the engine (zvals, c-style, something else)
* | | Move code out, that handles the actual structure to be used for the decodedAndrey Hristov2014-02-171-0/+20
| | | | | | | | | | | | data. Will make it easier to add different structures
* | | Bump yearXinchen Hui2014-01-031-1/+1
|/ /
* | Merge branch 'PHP-5.4' into PHP-5.5Andrey Hristov2013-11-261-0/+3
|\ \ | |/ | | | | | | | | Conflicts: NEWS ext/mysqlnd/mysqlnd.c
| * Fix for Bug #66141 (mysqlnd quote function is wrong with ↵Andrey Hristov2013-11-261-0/+3
| | | | | | | | NO_BACKSLASH_ESCAPES after failed query)
* | fix the fixAndrey Hristov2013-03-131-2/+1
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Andrey Hristov2013-03-131-0/+1
|\ \ | |/ | | | | | | Conflicts: NEWS
| * Merge branch 'PHP-5.3' into PHP-5.4Andrey Hristov2013-03-131-1/+1
| |\ | | | | | | | | | | | | Conflicts: NEWS
| | * fix for bug #63530 mysqlnd_stmt::bind_one_parameter uses wrong alloc for ↵Andrey Hristov2013-03-131-1/+1
| | | | | | | | | | | | stmt->param_bind
* | | fix different values of mysqli_stmt_affected_rows between libmysqlAndrey Hristov2013-01-071-0/+1
| | | | | | | | | | | | and mysqlnd (in favor of libmysql) before execute and after prepare()
* | | Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-01-061-1/+1
|\ \ \ | |/ /
| * | Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2013-01-061-1/+1
| |\ \ | | |/
| | * bump yearXinchen Hui2013-01-061-1/+1
| | |
* | | remove old unicode code, that is was compiled out by using a macroandrey2012-09-251-18/+2
|/ /
* | Merge branch 'PHP-5.3' into PHP-5.4andrey2012-05-161-4/+2
|\ \ | |/ | | | | | | | | | | Conflicts: ext/mysqlnd/mysqlnd_ps.c merge fix for bug#62046
| * Fix for bug#62046andrey2012-05-161-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Bug#62046 mysqli@mysqlnd can't iterate over stored sets after call to mysqli_stmt_reset(). Stmt's state was changed to STMT_PREPARED and leads the driver to think that the stmt was just prepared. Because result set exist also for only prepared but not executed sets, the check for stmt->result isn't any good. There is a result set, because as response for COM_PREPARE the server sends metadata and metadata is part of a result set. After COM_EXECUTE the server sends metadata again, which could be different and in this case more correct.
* | Merge branch 'PHP-5.3' into PHP-5.4andrey2012-05-021-2/+2
|\ \ | |/
| * Fix for bug#61411andrey2012-05-021-2/+2
| | | | | | | | | | | | Bug #61411 PDO Segfaults with PERSISTENT == TRUE && EMULATE_PREPARES == FALSE Wrong allocation, that doesn't follow the scheme of using stmt->persistent was the root cause of the problem and the crash at free.
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * function rename to comply with the schema of other callbacksAndrey Hristov2011-09-021-5/+5
| |
| * fix warnings. These checks are not needed becauseAndrey Hristov2011-02-011-2/+2
| | | | | | | | | | param_no is unsigned, it wasn't in the beginning.
| * - fix the fix (wrong test)Pierre Joye2011-01-181-2/+2
| |
| * - fix NULL derefencingPierre Joye2011-01-171-3/+3
| |
| * - Year++Felipe Pena2011-01-011-1/+1
| |
| * enable again after 5.3.4 has already been taggedAndrey Hristov2010-12-081-2/+1
| |
| * switch this off for the releaseAndrey Hristov2010-12-071-1/+2
| |
| * Skip additional result sets sent by MySQL 5.5 serversAndrey Hristov2010-12-061-2/+17
| | | | | | | | | | | | | | which break the Protocol API (see http://bugs.mysql.com/bug.php?id=58700)
| * fix some uninitialized variables. also fix shadowing of global symbolsAndrey Hristov2010-10-071-6/+6
| |
| * Fix for Bug #52686 mysql_stmt_attr_[gs]et arg. points to incorrect typeAndrey Hristov2010-10-061-10/+13
| |
| * Fix a problem that leads to leaks in plugins thatAndrey Hristov2010-09-291-7/+13
| | | | | | | | | | | | use stmt local data - no free is called for statements that are over-prepared
| * add another hook, maybe the last one, for MYSQLND_STMT, whichAndrey Hristov2010-09-281-8/+7
| | | | | | | | | | was missed before
| * WS fixesAndrey Hristov2010-09-231-13/+12
| |
| * Fix forAndrey Hristov2010-09-221-1/+8
| | | | | | | | | | Bug #52891 Wrong data inserted with mysqli/mysqlnd when using bind_param,value>LONG_MAX
| * Switch from using PHP_MAJOR_VERSION to separate define forAndrey Hristov2010-08-121-2/+2
| | | | | | | | | | | | unicode. Unicode is no more, but these are "bookmarks" where to change mysqlnd, if Unicode becomes trendy again.
| * Two functions, which should be methods so one can catchAndrey Hristov2010-06-241-9/+7
| | | | | | | | | | their output, for example
| * Fix sprintf modifiers all around the place. In most casesAndrey Hristov2010-06-211-15/+15
| | | | | | | | | | | | %u should be used. Where size_t is used then MYSQLND_SZ_T_SPEC should be the modifier
| * void functions return nothingAndrey Hristov2010-06-101-1/+1
| |
| * defensive programming, check before using a resourceAndrey Hristov2010-06-011-7/+87
| |
| * Perform later initializationAndrey Hristov2010-06-011-10/+22
| |
| * More check for valid MYSQLND_STMT before using itAndrey Hristov2010-05-311-15/+25
| |
| * Don't reference row_packet before checking if dereferencing is possibleAndrey Hristov2010-05-311-7/+15
| |
| * Check if data is correct and initialize in a safe mannerAndrey Hristov2010-05-311-45/+45
| |