summaryrefslogtreecommitdiff
path: root/ext/mysqli
Commit message (Collapse)AuthorAgeFilesLines
* Trim trailing whitespaces in build filesPeter Kokot2018-07-291-3/+3
| | | | | | | | Some editors utilizing .editorconfig automatically trim whitespaces. For convenience this patch removes whitespaces in certain build files: - ext/*/config*.m4 - configure.ac - acinclude.m4
* Fix typos in code commentsPeter Kokot2018-07-253-3/+3
|
* Remove unused Git attributes identPeter Kokot2018-07-259-17/+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.
* Better name: ZEND_PROPERTY_HAS => ZEND_PROPERTY_NOT_EMPTYDmitry Stogov2018-07-241-1/+1
|
* Give a meaningful nameXinchen Hui2018-07-241-3/+3
|
* Improved user iterator implementation to reduce zend_class_entry memory ↵Dmitry Stogov2018-07-121-1/+0
| | | | consumption and avoid race condition during resolving/caching of user iterator functions of internal classes in ZTS build.
* Skip test on incompatible serversAnatol Belski2018-07-091-0/+10
|
* Fix inverted stristr() argument order in mysqli testNikita Popov2018-07-051-2/+2
|
* Replace zval_dtor() with specialized destructorsDmitry Stogov2018-07-051-2/+2
|
* Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized ↵Dmitry Stogov2018-07-041-2/+2
| | | | | | | destructors. zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places. Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
* Remove old SVN keywords substitutionsPeter Kokot2018-06-163-6/+0
| | | | | | | | When the PHP source code was versioned in Subversion, there was possible to substitute certain keywords such as $Id$ with revision number, last change time and author name. Such approach is not used in Git so this patch removes these outdated artifacts from source code files.
* Fixe bug #76386Victor Csiky2018-06-151-0/+94
| | | | ..that is also a duplicate of #67122
* Export standard object handlers, to avoid indirect accessDmitry Stogov2018-05-311-9/+4
|
* Use zend_string_release_ex() instread of zend_string_release() in places, ↵Dmitry Stogov2018-05-282-3/+3
| | | | where we sure about string persistence.
* zend_fcall_info_cache.calling_scope is not used by zend_call_function() and ↵Dmitry Stogov2018-05-031-1/+0
| | | | | | doesn't have to be initialized. It's used only as a result of zend_is_callable() in forward_static_call and spl_autoload.
* Merge branch 'PHP-7.2'Nikita Popov2018-03-232-4/+4
|\
| * Add missing skip prefix for some SKIPIF messagesatvoicu2018-03-232-4/+4
| |
| * year++Xinchen Hui2018-01-0217-17/+17
| |
* | Keep initialized object_handlers structures in read-only memory.Dmitry Stogov2018-03-141-4/+4
| |
* | [ci skip] Remove space between function name and open parenthesesGabriel Caruso2018-02-242-12/+12
| |
* | Use int instead of long in protosGabriel Caruso2018-02-232-4/+4
| |
* | Use EXPECT instead of EXPECTF when possibleGabriel Caruso2018-02-20160-160/+160
| | | | | | | | EXPECTF logic in run-tests.php is considerable, so let's avoid it.
* | Remove explicit params count checkGabriel Caruso2018-02-191-4/+1
| | | | | | | | | | Relying on ZPP instead. Also, use ZEND_NUM_ARGS() instead of hardcode number of parameters
* | Remove redelcaration of zend_parse_parameters_noneGabriel Caruso2018-02-181-5/+0
| |
* | [Bug 75448] In case of failure, mysqli::prepare() returns NULL instead of FALSESergei Morozov2018-02-10100-427/+447
| |
* | Use bool instead of boolean while throwing a type errorGabriel Caruso2018-02-045-16/+16
| | | | | | | | | | | | | | | | | | | | PHP requires boolean typehints to be written "bool" and disallows "boolean" as an alias. This changes the error messages to match the actual type name and avoids confusing messages like "must be of type boolean, boolean given". This a followup to ce1d69a1f6dcf15d43029301059c25e5bc09a577, which implements the same change for integer->int.
* | Use int instead of integer in type errorsGabriel Caruso2018-02-043-3/+3
| | | | | | | | | | | | | | PHP requires integer typehints to be written "int" and does not allow "integer" as an alias. This changes type error messages to match the actual type name and avoids confusing messages like "must be of the type integer, integer given".
* | Remove superfluous PHP version check in testsGabriel Caruso2018-02-043-8/+0
| | | | | | | | Also remove tests that target only old PHP versions.
* | Remove superfluous SKIPIF sections in more testsGabriel Caruso2018-02-042-2/+0
| |
* | Remove checks for unicode.semantics ini optionNikita Popov2018-02-034-8/+0
| |
* | Simplify E_STRICT handling in mysqli testsNikita Popov2018-02-033-116/+24
| | | | | | | | | | | | E_STRICT is always defined, so we don't need to handle it conditionally. Instead just let the message be printed and check the output.
* | A cheaper way to clone reference value.Dmitry Stogov2018-01-171-2/+4
| |
* | Trailing whitespacesGabriel Caruso2018-01-031-1/+1
| | | | | | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
* | year++Xinchen Hui2018-01-0217-17/+17
| |
* | zend_fcall_info_cache.initialized is removed (zend_fcall_info_cache is ↵Dmitry Stogov2017-12-271-1/+0
| | | | | | | | initialized if zend_fcall_info_cache.function_handler is set).
* | Move constants into read-only data segmentDmitry Stogov2017-12-151-1/+1
| |
* | Move zend_object_iterator_funcs structures into read-only data segmentDmitry Stogov2017-12-142-3/+3
| |
* | Cleanup type conversionDmitry Stogov2017-12-072-6/+3
| |
* | Add zend_object_alloc() APINikita Popov2017-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | Using ecalloc() to create objects is expensive, because the dynamic-size memset() is unreasonably slow. Make sure we only zero the main object structure with known size, as the properties are intialized separately anyway. Technically we do not need to zero the embedded zend_object structure either, but as long as the memset argument is constant, a couple more bytes don't really matter.
* | Use single memory pool for result metadata and result set.Dmitry Stogov2017-11-151-2/+2
| |
* | Embeded zend_list into st_mysqlnd_error_info, to avoid extra ↵Dmitry Stogov2017-11-155-17/+29
| | | | | | | | allocation/deallocation.
* | Use interned strings for "magic" property of internal classes. (not copyied ↵Dmitry Stogov2017-11-011-1/+1
| | | | | | | | into SHM)
* | Persistent resources are "thread-local".Dmitry Stogov2017-11-011-4/+2
| | | | | | | | Register persistent resources through new functions zend_register_persistent_resource()/zend_register_persistent_resource_ex().
* | Fixed testDmitry Stogov2017-10-301-0/+1
| |
* | Merge branch 'PHP-7.2'Nikita Popov2017-10-283-3/+34
|\ \ | |/
| * Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2017-10-283-3/+34
| |\
| | * Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-10-283-3/+34
| | |\
| | | * Fix bug #75434 Wrong reflection for mysqli_fetch_all functionFabien Villepinte2017-10-283-3/+34
| | | |
* | | | Avoid HashTable allocations for empty arrays (using zend_empty_array).Dmitry Stogov2017-10-242-4/+18
| | | |
* | | | Remove done and old TODO file from ext/mysqliPeter Kokot2017-09-301-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Since PHP documentation and ini settings should be updated for the mysqli extension, this patch removes an old and done TODO file from ext/mysqli folder.