summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_api.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.2' into PHP-7.3Andrey Hristov2019-06-191-1/+1
|\
| * Fix version comparisonAndrey Hristov2019-06-191-1/+1
| |
| * year++Xinchen Hui2018-01-021-1/+1
| |
* | Be more precise about possible types for mysqli methodsTyson Andre2019-06-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysqli has an uncommon approach to 64-bit compatibility: it will convert numbers that can't be represented on 32-bit platforms to a string. This is documented at https://www.php.net/manual/en/mysqli-stmt.affected-rows.php#refsect1-mysqli-stmt.affected-rows-returnvalues So if there's a query to a remote mysqli server that affects more than 2.2 billion rows, then the opcache inference might be incorrect. (It's possible to add a MAY_BE_STRING_ON_32_BIT_PLATFORM bitflag macro to account for this, but I don't think there's a need or want to?) Patches 3162285b86871fb22a85a50ce9bc30823da64b6a This is based on the list of php 7.4 functions using MYSQLI_RETURN_LONG_INT in mysqli_api.c
* | Fix typos in code commentsPeter Kokot2018-07-251-1/+1
| |
* | Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* | [ci skip] Remove space between function name and open parenthesesGabriel Caruso2018-02-241-7/+7
| |
* | Use int instead of long in protosGabriel Caruso2018-02-231-3/+3
| |
* | A cheaper way to clone reference value.Dmitry Stogov2018-01-171-2/+4
| |
* | year++Xinchen Hui2018-01-021-1/+1
| |
* | Embeded zend_list into st_mysqlnd_error_info, to avoid extra ↵Dmitry Stogov2017-11-151-0/+4
| | | | | | | | allocation/deallocation.
* | Merge branch 'PHP-7.2'Joe Watkins2017-07-251-4/+6
|\ \ | |/ | | | | | | * PHP-7.2: minor loop optimizations, closes #2633
| * Merge branch 'PHP-7.1' into PHP-7.2Joe Watkins2017-07-251-4/+6
| |\ | | | | | | | | | | | | * PHP-7.1: minor loop optimizations, closes #2633
| | * Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-07-251-4/+6
| | |\ | | | | | | | | | | | | | | | | * PHP-7.0: minor loop optimizations, closes #2633
| | | * minor loop optimizations, closes #2633Joe Watkins2017-07-251-4/+6
| | | |
* | | | Remove version checks for MySQL < 5.0Nikita Popov2017-07-191-2/+0
|/ / /
* | | Merge branch 'PHP-7.1'Anatol Belski2017-05-061-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fixed bug #74547 mysqli::change_user() doesn't accept null as $database argument w/strict_types
| * | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-05-061-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: Fixed bug #74547 mysqli::change_user() doesn't accept null as $database argument w/strict_types
| | * Fixed bug #74547 mysqli::change_user() doesn't accept null as $database ↵Anatol Belski2017-05-061-1/+1
| | | | | | | | | | | | argument w/strict_types
| | * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| | |
| * | Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| | |
* | | Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
| | |
* | | further normalizations, uint vs uint32_tAnatol Belski2016-11-261-3/+3
| | | | | | | | | | | | | | | | | | fix merge mistake yet one more replacement run
* | | Merge branch 'PHP-7.0' into PHP-7.1Andrey Hristov2016-10-171-2/+2
|\ \ \ | |/ / |/| |
| * | Merge branch 'PHP-5.6' into PHP-7.0Andrey Hristov2016-10-171-2/+2
| |\ \ | | |/ | |/|
| | * This is a very very old thing dated back to year 2009.Andrey Hristov2016-10-171-2/+2
| | | | | | | | | | | | | | | | | | MYSQL_OPT_READ_TIMEOUT was never a macro in mysqlnd but an enum value. So this never actually worked correctly. mysqlnd provides these so it is safe to have them when mysqlnd used.
* | | Fixed compilation warningsDmitry Stogov2016-06-221-3/+3
| | |
* | | Added ZEND_ATTRIBUTE_FORMAT to some middind functions.Dmitry Stogov2016-06-211-1/+1
| | | | | | | | | | | | | | | "%p" replaced by ZEND_LONG_FMT to avoid compilation warnings. Fixed most incorrect use cases of format specifiers.
* | | Remove version checksNikita Popov2016-01-301-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHP_VERSION_ID PHP_API_VERSION ZEND_MODULE_API_NO PHP_MAJOR_VERSION, PHP_MINOR_VERSION ZEND_ENGINE_2 I've left litespeed alone, as it seems to genuinely maintain support for many PHP versions.
* | | Merge branch 'PHP-7.0'Lior Kaplan2016-01-011-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | * PHP-7.0: Update header to PHP Version 7 Happy new year (Update copyright to 2016) Happy new year (Update copyright to 2016)
| * | Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| | * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| | |
* | | Merge branch 'PHP-7.0'Xinchen Hui2015-11-161-0/+2
|\ \ \ | |/ /
| * | Merge branch 'PHP-5.6' into PHP-7.0Xinchen Hui2015-11-161-0/+2
| |\ \ | | |/ | | | | | | | | | Conflicts: ext/mysql/php_mysql.c
| | * Fixed bug #68077 (LOAD DATA LOCAL INFILE / open_basedir restriction)Xinchen Hui2015-11-161-0/+2
| | | | | | | | | | | | Actually, this only be fixed if php uses mysqlnd
| | * Patch commit d9f85373e32 by moving the float_to_double function toKeyur Govande2015-01-261-2/+2
| | | | | | | | | | | | a header file.
| | * Fix for bugs #68114 (Build fails on OS X due to undefined symbols)Keyur Govande2015-01-261-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient has rounding errors). The patch removes support for Decimal floating point numbers and now defaults to using similar logic as what libmysqlclient does: convert a 4 byte floating point number into a string, and then the string into a double. The quirks of MySQL are maintained as seen in Field_Float::val_str()
| | * bump yearXinchen Hui2015-01-151-1/+1
| | |
* | | MNDR:Andrey Hristov2015-11-121-1/+5
|/ / | | | | | | | | | | - cleanup in mysqlnd_result.c - switch from zend_ulong to size_t for lengths. Accordingly change mysqli and pdo_mysql for this.
* | Cleanup (updated comments)Dmitry Stogov2015-07-011-1/+1
| |
* | Cleanup (replce hack by a clean implementation)Dmitry Stogov2015-07-011-11/+12
| |
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-5/+5
| | | | | | | | semantick changes).
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-2/+2
| | | | | | | | semantick changes).
* | Fix more proto commentsRasmus Lerdorf2015-06-231-7/+7
| |
* | Drop now unnecessary start parameterNikita Popov2015-04-041-11/+10
| |
* | Fix parameter parsing for mysqli_stmt_bind_result()Nikita Popov2015-04-041-23/+4
| | | | | | | | Also drops one unnecessary arg allocation
* | Optimize zend_string_realloc() add more specialized versions ↵Dmitry Stogov2015-03-201-1/+1
| | | | | | | | zend_string_extend() and zend_string_truncate()
* | Use specialized macro for string zval creationDmitry Stogov2015-03-121-1/+1
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-2/+2
| |