summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_alloc.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace zend_bool uses with boolNikita Popov2021-01-151-25/+25
| | | | | | | We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias.
* MySQLnd: Remove mnd_malloc/free etc.Nikita Popov2020-12-171-189/+0
| | | | | | There were only two uses of non-zmm allocation functions left, which really did not need to use the system allocator. Remove them, and remove the system allocator based APIs.
* MySQLnd: Remove fail thresholds from infallible allocatorsNikita Popov2020-12-141-110/+6
| | | | | emalloc() etc are infallibe by design. Having a failure threshold for them is a violation of the API contract.
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Fix ifdef positionNikita Popov2019-06-121-1/+1
| | | | Hopefully fixes the release build...
* Fix warnings in mysqlnd_alloc.cNikita Popov2019-06-121-91/+60
| | | | | And also separate the PHP_DEBUG codepaths more, to avoids having an ifdef every other line...
* Update and fix remaining year ranges (2019)Peter Kokot2019-02-081-1/+1
| | | | | | This patch follows previous license year ranges updates. With new approach source code files now have simplified headers with license information without year ranges.
* Remove local variablesPeter Kokot2019-02-031-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* year++Xinchen Hui2018-01-021-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Merge branch 'PHP-7.0'Andrey Hristov2016-03-161-3/+2
|\
| * Fix emails in headers. @mysql.com addresses are no more since many years.Andrey Hristov2016-03-161-3/+3
| |
* | Fix reloc for the allocator. Original files and lines were not showingAndrey Hristov2016-01-051-64/+71
| | | | | | | | correct. This seems to be a PHP7 issue.
* | - Make functions static, as they are not needed to be public - exportedAndrey Hristov2016-01-041-22/+69
| | | | | | | | | | | | | | through a structure - Fixed typo in statistic name - Added 2 static functions for copying a MYSQLND_CSTRING and converting a CSTRING to STRING.
* | 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
| | |
| | * bump yearXinchen Hui2015-01-151-1/+1
| | |
* | | MNDR:Andrey Hristov2015-11-121-2/+1
|/ / | | | | | | - move things out of mysqlnd_priv.h
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-3/+3
| | | | | | | | semantick changes).
* | Minimize copying of HashTable realocationDmitry Stogov2015-03-051-1/+1
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-22/+22
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-3/+3
| |
* | Move smart_str implementation into Zend/Nikita Popov2014-09-211-1/+1
| | | | | | | | | | | | | | | | So we can use it there as well... For now I've retained the zend_smart_str_public.h header, though it would probably be better to just move that one struct into zend_types.h.
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | master renames phase 1Anatol Belski2014-08-251-9/+9
| |
* | ported mysql and mysqlndAnatol Belski2014-08-191-9/+9
| |
* | fix init, new smart_str struct (use zend_string now)Pierre Joye2014-05-171-4/+4
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Merge branch 'PHP-5.4' into PHP-5.5Johannes Schlüter2013-02-211-1/+1
|\
| * Fix #60840 (undefined symbol: mysqlnd_debug_std_no_trace_funcs)Johannes Schlüter2013-02-211-1/+1
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-01-061-1/+1
|\ \ | |/
| * bump yearXinchen Hui2013-01-061-1/+1
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Andrey Hristov2012-12-191-42/+95
|\ \ | |/ | | | | | | Conflicts: ext/mysqlnd/mysqlnd_alloc.c
| * be cautious about the result of strrchrAndrey Hristov2012-12-181-14/+84
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * compile out when PHP_DEBUG is not presentAndrey Hristov2011-08-171-0/+18
| |
* | Fix crashes with filenames that don't contain directory separator - generatedandrey2012-07-301-14/+40
| | | | | | | | files like scanners/parsers.
* | trace allocations in a fileandrey2012-06-271-65/+67
| |
* | Pass orig filename and line through to emalloc and friendsJohannes Schlüter2012-06-261-26/+27
| |
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | compile out when PHP_DEBUG is not presentAndrey Hristov2011-08-171-0/+18
|/
* add a proxy for sppintf and vspprintfAndrey Hristov2011-03-181-1/+35
|
* split mysqlnd_debug.c in 3 filesAndrey Hristov2011-03-181-0/+674
|
* Remove unused fileAndrey Hristov2010-04-151-285/+0
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* Fix build for mysqlndYiduo (David) Wang2007-10-071-1/+1
|
* Import mysqlndAndrey Hristov2007-10-051-0/+285
Patch ext/mysql and ext/mysqli to support mysqlnd