summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace zend_ce_error with NULL and replace more E_ERROR with thrown ErrorAaron Piotrowski2016-06-131-2/+2
|
* Merge branch 'master' into throw-error-in-extensionsAaron Piotrowski2016-06-101-17/+14
|\
| * Merge branch 'PHP-7.0'Anatol Belski2016-05-091-21/+4
| |\ | | | | | | | | | | | | | | | * PHP-7.0: Revert "Fixed bug #71820 pg_fetch_object bind parameters before call constructor" Revert "Backport patch for bug #71820"
| | * Revert "Fixed bug #71820 pg_fetch_object bind parameters before call ↵Anatol Belski2016-05-091-21/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | constructor" This reverts commit b4eedd128ba9f61be08a50c94afd72837d7cf70b. This fixed bug #72151, and reverts the fix for bug #71820. See also bug #50636 and #49521 for the history.
| * | - get rid of EG(scope). zend_get_executed_scope() should be used instead.Dmitry Stogov2016-04-281-1/+1
| | | | | | | | | | | | - ichanged zval_update_constant_ex(). Use IS_TYPE_IMMUTABLE flag on shared constants and AST, instead of "inline_change" parameter.
| * | Removed "zend_fcall_info.function_table". It was assigned in many places, ↵Dmitry Stogov2016-04-271-1/+0
| | | | | | | | | | | | but is never used.
| * | Merge branch 'PHP-7.0'Anatol Belski2016-03-171-4/+21
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: Fixed bug #71820 pg_fetch_object bind parameters before call constructor
| | * Fixed bug #71820 pg_fetch_object bind parameters before call constructorAnatol Belski2016-03-171-4/+21
| | | | | | | | | | | | | | | | | | If we want to fetch into an object of a custom class that implemens __set handler, the corstructor has to be called first. The data passed to the constructor can be possibly required in __set handler.
| * | Merge branch 'PHP-7.0'Nikita Popov2016-03-031-1/+1
| |\ \ | | |/
| | * Move semicolon into TSRMLS_CACHE_EXTERN/DEFINENikita Popov2016-03-031-1/+1
| | | | | | | | | | | | Also re bug #71575.
| * | Removed zend_fcall_info.symbol_tableDmitry Stogov2016-03-021-1/+0
| | |
| * | Remove version checksNikita Popov2016-01-301-2/+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.
| * | Remove HAVE_SPL checksNikita Popov2016-01-301-6/+1
| |/ | | | | | | | | | | SPL is always built. Also clean up spl_ce_RuntimeException handling in PDO.
| * 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-5.6' into PHP-7.0Andrey Hristov2015-10-271-0/+3
| |\ \ | | |/
| | * Another Fix for Bug #68344 MySQLi does not provide way to disable peer ↵Andrey Hristov2015-10-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | certificate validation Added the possibility to explicitly state that the peer certificate should not be checked. Back to the default - checking the certificate. Exported MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT Usage : mysqli_real_connect( , , , , , MYSQLI_CLIENT_SSL | MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT) If mysqli_ssl_set() is not called, but only MYSQLI_CLIENT_SSL is passed, without the (don't) very flag, then no verification takes place.
| * | Merge branch 'PHP-5.6' into PHP-7.0Andrey Hristov2015-10-221-0/+3
| |\ \ | | |/
| | * Improve fix for Bug #68344 MySQLi does not provide way to disable peer ↵Andrey Hristov2015-10-221-0/+3
| | | | | | | | | | | | certificate validation
| * | Merge branch 'PHP-5.6' into PHP-7.0Andrey Hristov2015-09-301-1/+3
| |\ \ | | |/
| | * Add JSON as exported type, if available. mysqlnd has it, libmysql doesn't ↵Andrey Hristov2015-09-301-1/+3
| | | | | | | | | | | | export it (for now).
| | * bump yearXinchen Hui2015-01-151-1/+1
| | |
| * | Avoid reallocationsDmitry Stogov2015-09-141-3/+1
| | |
* | | Convert E_ERROR to thrown Error in extensionsAaron Piotrowski2015-07-051-2/+2
|/ /
* | Switch position of ce in exception ce variable namesAaron Piotrowski2015-07-031-4/+4
| |
* | Change zend_exception_get_default() to zend_exception_ceAaron Piotrowski2015-07-031-4/+4
| |
* | Cleanup (removed dead code)Dmitry Stogov2015-07-011-5/+0
| |
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-4/+4
| | | | | | | | semantick changes).
* | Make convert_to_* safe with rc>1Nikita Popov2015-06-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This only involves switching zval_dtor to zval_ptr_dtor for arrays and making the convert_to_object for arrays a bit more generic. All the other changes outside zend_operators.c just make use of this new ability (use COPY instead of DUP). What's still missing: Proper references handling. I've seen many convert_to* calls that will break when a reference is used. Also fixes bug #69788.
* | cleanup the mod version macros, round 2Anatol Belski2015-03-231-5/+1
| |
* | made ZEND_TSRMLS_CACHE_* macros look like function callsAnatol Belski2015-02-161-2/+2
| | | | | | | | which also comply with the current semantics for such macros
* | Move zend_object->guards into additional slot of ↵Dmitry Stogov2015-02-041-1/+1
| | | | | | | | zend_object->properties_table[]. As result size of objects without __get/__set/__unset/__isset magic methods is reduced.
* | Remove addslashes_strXinchen Hui2015-01-201-10/+1
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-1/+1
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-121/+119
| |
* | Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-12-131-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: (37 commits) NEWS NEWS Fix bug #68601 buffer read overflow in gd_gif_in.c Fixed compilation warnings Removed unnecessary checks pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary Merged PR #911. Removed ZEND_ACC_FINAL_CLASS which is unnecessary. This also fixed some currently defined classes as final which were just not being considered as such before. Updated NEWS Updated NEWS Updated NEWS Fix bug #68532: convert.base64-encode omits padding bytes Updated NEWS Updated NEWS Updated NEWS Fixed Bug #65576 (Constructor from trait conflicts with inherited constructor) Updated NEWS Updated NEWS Fix MySQLi tests Fixed gd test ...
| * | Removed ZEND_ACC_FINAL_CLASS which is unnecessary. This also fixed some ↵Guilherme Blanco2014-12-121-2/+2
| | | | | | | | | | | | currently defined classes as final which were just not being considered as such before.
* | | converted some ext/mysql* and fixed ext/zlibAnatol Belski2014-10-151-0/+6
| | |
* | | bring back all the TSRMLS_FETCH() stuffAnatol Belski2014-10-151-1/+2
| | | | | | | | | | | | for better comparability with the mainstream
* | | remove fetches from mysqlikrakjoe2014-09-261-2/+1
|/ /
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | first show to make 's' work with size_tAnatol Belski2014-08-271-1/+1
| |
* | master renames phase 3Anatol Belski2014-08-251-3/+3
| |
* | master renames phase 1Anatol Belski2014-08-251-120/+120
| |
* | fixes to %pd format usageAnatol Belski2014-08-241-3/+3
| |
* | ported ext/mysqliAnatol Belski2014-08-191-7/+7
| |
* | basic macro replacements, all at onceAnatol Belski2014-08-191-110/+110
| |
* | Fixed version idXinchen Hui2014-08-161-1/+1
| |
* | Fixed version checkingXinchen Hui2014-08-151-1/+1
| |