summaryrefslogtreecommitdiff
path: root/ext/mysqli
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug #70949 (SQL Result Sets With NULL Can Cause Fatal Memory Errors)Xinchen Hui2015-11-271-0/+62
|
* Fixed test.Dmitry Stogov2015-10-071-1/+4
| | | | | MySQL and MariaDB of different versions have different assumptions about TIMESTAMP attributes. Probably we need to add yet another condition to also check MariaDB version.
* fix testAnatol Belski2015-09-301-0/+4
|
* 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).
| * Fix for Bug #70384 mysqli_real_query(): Unknown type 245 sent by the serverAndrey Hristov2015-09-232-1/+65
| |
* | Fixed incorrect usage of HASH_OF() macro. Replaced HASH_OF() with more ↵Dmitry Stogov2015-09-241-9/+9
| | | | | | | | appropriate Z_ARRVAL_P() or Z_OBJPROP_P().
* | Fix for Bug #70384 mysqli_real_query(): Unknown type 245 sent by the serverAndrey Hristov2015-09-232-1/+65
| |
* | Avoid reallocationsDmitry Stogov2015-09-141-3/+1
| |
* | Fix #32490: constructor of mysqli has wrong nameChristoph M. Becker2015-09-016-72/+83
| | | | | | | | | | As of PHP 7 old style constructor names are deprecated, so we rename mysqli::mysqli() to mysqli::__construct().
* | Remove superfluous forward declarationChristoph M. Becker2015-08-251-1/+0
| | | | | | | | | | mysqli_get_cache_stats() has been removed with commit f9ad56e; we're finally getting rid of its remaining forward declaration.
* | Merge branch 'zval_dump_consistent' of https://github.com/laruence/php-srcXinchen Hui2015-07-302-9/+9
|\ \
| * | Make debug_val_dump and var_dump prints int and float the sameXinchen Hui2015-07-232-9/+9
| | |
* | | switch to the unified globals accessor where appropriateAnatol Belski2015-07-291-6/+2
| | |
* | | Fix failing tests from exception code changesAaron Piotrowski2015-07-072-4/+4
|/ /
* | 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
| |
* | Fixed broken nameDmitry Stogov2015-07-011-4/+4
| |
* | Cleanup (updated comments)Dmitry Stogov2015-07-011-1/+1
| |
* | Cleanup (replce hack by a clean implementation)Dmitry Stogov2015-07-015-14/+16
| |
* | Cleanup (removed dead code)Dmitry Stogov2015-07-011-5/+0
| |
* | Cleanup (avoid duplication)Dmitry Stogov2015-07-011-4/+2
| |
* | 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-305-20/+20
| | | | | | | | semantick changes).
* | Fix more proto commentsRasmus Lerdorf2015-06-231-7/+7
| |
* | Remove these old references to the DSP files we don't use anymoreKalle Sommer Nielsen2015-06-221-1/+0
| |
* | Merge branch 'master' into throwable-interfaceAaron Piotrowski2015-06-141-2/+2
|\ \ | | | | | | | | | | | | | | | | | | # Conflicts: # Zend/zend_language_scanner.c # Zend/zend_language_scanner.l # ext/simplexml/tests/SimpleXMLElement_xpath.phpt
| * | 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.
* | | Update exception names in tests after formatting changes.Aaron Piotrowski2015-05-177-7/+7
| | |
* | | Merge branch 'master' into throwable-interfaceAaron Piotrowski2015-05-177-7/+7
|\ \ \ | |/ /
| * | Tweak uncaught exception message displayNikita Popov2015-05-177-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements a reduced variant of #1226 with just the following change: -Fatal error: Uncaught exception 'EngineException' with message 'Call to private method foo::bar() from context ''' in %s:%d +Fatal error: Uncaught EngineException: Call to private method foo::bar() from context '' in %s:%d The '' wrapper around messages is very weird if the exception message itself contains ''. Futhermore having the message wrapped in '' doesn't work for the "and defined" suffix of TypeExceptions.
* | | Updated tests to reflect exception class changes.Aaron Piotrowski2015-05-169-11/+11
|/ /
* | Display EngineExceptions like ordinary exceptionsNikita Popov2015-05-157-7/+29
| | | | | | | | | | | | | | | | | | TypeException stays as-is for now because it uses messages that are incompatible with the way exception messages are displayed. closure_038.phpt and a few others now show that we're generating too many exceptions for compound operations on undefined properties -- this needs to be fixed in a followup.
* | Drop now unnecessary start parameterNikita Popov2015-04-041-11/+10
| |
* | Fix parameter parsing for mysqli_stmt_bind_result()Nikita Popov2015-04-042-26/+9
| | | | | | | | Also drops one unnecessary arg allocation
* | Merge branch 'PHP-5.6'Ferenc Kovacs2015-04-011-2/+0
|\ \ | |/ | | | | | | * PHP-5.6: test fixes
| * Merge branch 'PHP-5.5' into PHP-5.6Ferenc Kovacs2015-04-011-2/+0
| |\ | | | | | | | | | | | | * PHP-5.5: test fixes
| | * test fixesFerenc Kovacs2015-04-011-2/+0
| | |
* | | Finish PHP 4 constructor deprecationNikita Popov2015-03-311-1/+1
| | |
* | | Deprecate PHP 4 constructorsAndrea Faulds2015-03-312-6/+6
| | |
* | | cleanup the mod version macros, round 2Anatol Belski2015-03-232-5/+4
| | |
* | | Optimize zend_string_realloc() add more specialized versions ↵Dmitry Stogov2015-03-201-1/+1
| | | | | | | | | | | | zend_string_extend() and zend_string_truncate()
* | | String reference counters may be increased when string copiedDmitry Stogov2015-03-191-8/+8
| | |
* | | Revert previously commit by accidentXinchen Hui2015-03-131-2/+2
| | |
* | | Use specialized macro for string zval creationDmitry Stogov2015-03-121-1/+1
| | |
* | | Merge branch 'master' of https://git.php.net/repository/php-srcXinchen Hui2015-03-104-8/+8
|\ \ \
| * | | Errors converted to exceptions are not "recoverable" anymore.Dmitry Stogov2015-03-104-8/+8
| | | |
* | | | Merge branch 'PHP-5.6'Xinchen Hui2015-03-101-2/+2
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | Conflicts: Zend/zend_vm_def.h Zend/zend_vm_execute.h
| * | Update NEWSXinchen Hui2015-03-101-2/+2
| | |
* | | Implement engine exceptionsDmitry Stogov2015-03-092-18/+25
| | | | | | | | | | | | | | | | | | | | | RFC: https://wiki.php.net/rfc/engine_exceptions_for_php7 Pending changes regarding naming of BaseException and whether it should be an interface.