summaryrefslogtreecommitdiff
path: root/ext/mysqlnd
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #69669 (mysqlnd is vulnerable to BACKRONYM)Stanislav Malyshev2015-07-071-25/+40
|
* fix sizeof sizeStanislav Malyshev2015-02-011-1/+1
|
* typofixesVeres Lajos2014-08-171-1/+1
|
* Patch for bug #67839 (mysqli does not handle 4-byte floats correctly)Keyur Govande2014-08-142-4/+71
| | | | | | | | | | | Before the patch, a value of 9.99 in a FLOAT column came out of mysqli as 9.9998998641968. This is because it would naively cast a 4-byte float into PHP's internal 8-byte double. To fix this, with GCC we use the built-in decimal support to "up-convert" the 4-byte float to a 8-byte double. When that is not available, we fall back to converting the float to a string and then converting the string to a double. This mimics what MySQL does.
* 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.
* add text for the new constantsAndrey Hristov2014-01-282-1/+6
|
* add new constsAndrey Hristov2014-01-281-0/+2
|
* Fix bug #66283 (Segmentation fault after memory_limit)Johannes Schlüter2014-01-211-3/+4
| | | | | | | | There are situations where mysqlnd dupliates zvals while freeing result sets. If the memory_limit is reached during this operation the engine will bailout. This patch makes sure that a later attempt (during RSHIUTDOWN) won't cause a double free, instead we rely on the engine to free emalloc()ed memory after bailout.
* Bump yearXinchen Hui2014-01-0337-37/+37
|
* Fix loss of precisionAndrey Hristov2013-12-042-2/+2
|
* Fix for Bug #66141 (mysqlnd quote function is wrong with ↵Andrey Hristov2013-11-264-4/+17
| | | | NO_BACKSLASH_ESCAPES after failed query)
* And here is the real fix for #66124Andrey Hristov2013-11-211-11/+30
|
* Typo fix: umknown -> unknownLior Kaplan2013-10-311-2/+2
|
* Merge branch 'PHP-5.4'Kalle Sommer Nielsen2013-08-051-2/+6
|
* non living code related typo fixesVeres Lajos2013-08-041-1/+1
|
* Merge branch 'PHP-5.4' of ssh://git.php.net/php-src into PHP-5.4Andrey Hristov2013-07-081-2/+2
|\ | | | | | | | | Conflicts: NEWS
| * Make sure return value is initialised in case transaction startup failsJohannes Schlüter2013-07-031-2/+2
| |
* | Fixed segfault in mysqlnd when doing long prepareAndrey Hristov2013-07-081-0/+1
|/
* Merge branch 'pull-request/341'Stanislav Malyshev2013-06-102-3/+3
| | | | | * pull-request/341: (23 commits) typofixes
* Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2013-04-271-0/+1
|\
| * Fix memory realted to #64726Xinchen Hui2013-04-271-0/+1
| |
* | Merge branch 'PHP-5.3' into PHP-5.4Andrey Hristov2013-04-191-1/+1
|\ \ | |/
| * lower the limit, should fit in a byteAndrey Hristov2013-04-191-1/+1
| |
* | 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 #60840 (undefined symbol: mysqlnd_debug_std_no_trace_funcs)Johannes Schlüter2013-02-212-2/+2
| |
* | check the validity of the parameterAndrey Hristov2013-02-041-1/+8
| |
* | add new charset, from MySQL 5.6Andrey Hristov2013-02-011-8/+11
| |
* | backport handling of expired passwords in mysqlnd to 5.4Andrey Hristov2013-01-092-2/+14
| |
* | fix compilation error after mergeAndrey Hristov2013-01-091-1/+1
| |
* | Merge branch 'PHP-5.3' into PHP-5.4Andrey Hristov2013-01-091-0/+2
|\ \ | |/
| * Use during connect the flags set with set_client_option()Andrey Hristov2013-01-091-0/+2
| |
* | bump yearXinchen Hui2013-01-0610-10/+10
| |
* | Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2013-01-0627-27/+27
|\ \ | |/
| * bump yearXinchen Hui2013-01-0627-27/+27
| |
* | be cautious about the result of strrchrAndrey Hristov2012-12-181-14/+84
| |
* | Fixed mysqlnd compilation in debug mode on windowsAnatoliy Belsky2012-12-131-0/+2
| |
* | Merge branch 'PHP-5.3' into PHP-5.4Andrey Hristov2012-10-311-1/+1
|\ \ | |/
| * read 1 instead of 2 bytes. The next 2 bytes are 2 and thus not a problemAndrey Hristov2012-10-311-1/+1
| |
* | Fixed bug #62594 (segfault in mysqlnd_res_meta::set_mode)Xinchen Hui2012-07-181-1/+3
| |
* | Merge branch 'PHP-5.4' of ssh://git.php.net/php-src into PHP-5.4andrey2012-07-091-2/+2
|\ \
| * | Fixed the common misspelling of the word occurred (occured -> occurred)Marc Easen2012-06-301-2/+2
| | |
* | | fix valgrind warningandrey2012-07-091-1/+1
|/ /
* | mergeandrey2012-06-291-1/+1
| |
* | Merge branch 'PHP-5.3' into PHP-5.4andrey2012-06-291-0/+7
|\ \ | |/
| * fix Bug #62273 Segmentation Fault in Mysqli/Mysqlndandrey2012-06-291-0/+7
| |
* | Merge branch 'PHP-5.3' into PHP-5.4andrey2012-06-291-19/+56
|\ \ | |/
| * new charsetsandrey2012-06-291-19/+56
| |
* | 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.