Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Optimization | Dmitry Stogov | 2018-07-10 | 1 | -100/+71 |
| | |||||
* | emalloc() never returns NULL | Dmitry Stogov | 2018-06-13 | 1 | -3/+1 |
| | |||||
* | Add check for variable size array feature | Anatol Belski | 2018-06-09 | 1 | -2/+2 |
| | | | | | | | | Usage of VLA is not portable, wile supported by some compilers. For instance, GCC supports it even if -std=c89 is passed. Even if we would switch to C99, it would be still not portable at least with VC++. Thus, adding a centralized check so such code can be guarded and moved to alloca() if needed. | ||||
* | Merge branch 'PHP-7.2' | Anatol Belski | 2018-06-06 | 1 | -0/+9 |
|\ | | | | | | | | | | | * PHP-7.2: Fix VC compilation as variable size array is not supported NEWS for 7.2.8 | ||||
| * | Merge branch 'PHP-7.1' into PHP-7.2 | Anatol Belski | 2018-06-06 | 1 | -2/+111 |
| |\ | | | | | | | | | | | | | | | | * PHP-7.1: Fix VC compilation as variable size array is not supported Fix MySQL 8 auth | ||||
| | * | Fix VC compilation as variable size array is not supported | Anatol Belski | 2018-06-06 | 1 | -0/+9 |
| | | | |||||
| * | | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'PHP-7.1' | Johannes Schlüter | 2018-06-06 | 1 | -2/+78 |
|\ \ \ | | |/ | |/| | |||||
| * | | Fix MySQL 8 auth | Johannes Schlüter | 2018-06-06 | 1 | -2/+102 |
| | | | |||||
| * | | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | | | |||||
* | | | Fix initialisation order | Johannes Schlüter | 2018-02-20 | 1 | -1/+1 |
| | | | |||||
* | | | Trailing whitespaces | Gabriel Caruso | 2018-01-03 | 1 | -2/+2 |
| | | | | | | | | | | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com> | ||||
* | | | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | | | |||||
* | | | Use single memory pool for result metadata and result set. | Dmitry Stogov | 2017-11-15 | 1 | -2/+2 |
| | | | |||||
* | | | Cleanup. Make difference between MYSQLND_ROW_BUFFER and ↵ | Dmitry Stogov | 2017-11-15 | 1 | -22/+22 |
| | | | | | | | | | | | | MYSQLND_MEMORY_POOL_CHUNK (the last one is completely removed). | ||||
* | | | Try to fix AppVeyor build | Nikita Popov | 2017-11-14 | 1 | -1/+1 |
| | | | | | | | | | | | | Performing arithmetic on void pointers is a GCC extension. | ||||
* | | | Reimplemented MYSQLND_MEMORY_POOL to avoid allocations ouside of pool. Store ↵ | Dmitry Stogov | 2017-11-14 | 1 | -7/+8 |
| | | | | | | | | | | | | all data related to result set in the pool. | ||||
* | | | Run mysqlmd commands in one step (without separate create/run/free). | Dmitry Stogov | 2017-11-14 | 1 | -5/+1 |
| | | | |||||
* | | | Use stack-allocated packets. | Dmitry Stogov | 2017-11-14 | 1 | -556/+251 |
| | | | |||||
* | | | Made "result", "statement" and "last_message" to always use Zend MM heap. ↵ | Dmitry Stogov | 2017-11-02 | 1 | -17/+12 |
| | | | | | | | | | | | | (even for persistent connections these entities don't relive request boundary) | ||||
* | | | Extend zend_string API to avoid reallocation in zend_string_init_interned() | Dmitry Stogov | 2017-10-19 | 1 | -1/+1 |
| | | | |||||
* | | | Reuse interned strings from opcache SHM, if possible. | Dmitry Stogov | 2017-10-16 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'PHP-7.2' | Anatol Belski | 2017-09-13 | 1 | -1/+1 |
|\ \ \ | | |/ | |/| | | | | | | | * PHP-7.2: Fixed bug #75018, fixed bug #75177 | ||||
| * | | Merge branch 'PHP-7.1' into PHP-7.2 | Anatol Belski | 2017-09-13 | 1 | -1/+1 |
| |\ \ | | |/ | | | | | | | | | | * PHP-7.1: Fixed bug #75018, fixed bug #75177 | ||||
| | * | Fixed bug #75018, fixed bug #75177 | Anatol Belski | 2017-09-13 | 1 | -1/+1 |
| | | | | | | | | | | | | Both are caused by the same cast issue in mysqlnd on 32-bit. | ||||
* | | | Kill a compiler warning in ext/mysqlnd | Kalle Sommer Nielsen | 2017-08-24 | 1 | -1/+1 |
|/ / | |||||
* | | Use interned empty and "one char" strings. | Dmitry Stogov | 2017-05-18 | 1 | -0/+4 |
|/ | |||||
* | Merge branch 'PHP-7.0' into PHP-7.1 | Nikita Popov | 2017-02-12 | 1 | -4/+5 |
|\ | |||||
| * | Fixed bug #74021 | andrewnester | 2017-02-12 | 1 | -4/+4 |
| | | |||||
| * | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-04 | 1 | -1/+1 |
| | | |||||
* | | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-04 | 1 | -1/+1 |
| | | |||||
* | | Fix data_size decrement | Nikita Popov | 2017-01-02 | 1 | -1/+1 |
| | | | | | | | | We don't want to decrement the pointer... | ||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Nikita Popov | 2017-01-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix for sporadic segfault with MYSQLI_OPT_INT_AND_FLOAT_NATIVE | vanviegen | 2017-01-02 | 1 | -2/+8 |
| | | | | | | | | | | | | Fixes bug #73800 news entry for PR #2250 | ||||
* | | Fix for sporadic segfault with MYSQLI_OPT_INT_AND_FLOAT_NATIVE | vanviegen | 2017-01-02 | 1 | -1/+7 |
| | | | | | | | | | | | | Fixes bug #73800 news entry for PR #2249 | ||||
* | | Optimized memory handling of BIT fields. Less memory copies and less | Andrey Hristov | 2016-12-12 | 1 | -46/+11 |
| | | | | | | | | memory usage. | ||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Andrey Hristov | 2016-12-12 | 1 | -3/+28 |
|\ \ | |/ | |||||
| * | Fix off by 1 problem. | Andrey Hristov | 2016-12-12 | 1 | -3/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | The problem was manifestated only with BIT columns and only when more than one row was fetched. The problem was coming from the fact that in pre-7.0 times mysqlnd was using a no-copy optimization. This optimization kept the strings (and also the BIT mask equivalents as strings) in the packet and the zval referred to them. 7.0+ zvals cannot use no-copy and always copy. Because of this the allocated memory for the packet was reduced by 1 by the person who ported the driver, but the starting address of the bit area wasn't reduced. Because of this the bit_area started at wrong address and the length decoded wrong. | ||||
| * | Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields | Stanislav Malyshev | 2016-09-12 | 1 | -1/+6 |
| | | |||||
* | | Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields | Stanislav Malyshev | 2016-09-12 | 1 | -0/+5 |
| | | |||||
* | | Fixed compilation warnings | Dmitry Stogov | 2016-06-23 | 1 | -1/+1 |
| | | |||||
* | | Fix build | Kalle Sommer Nielsen | 2016-03-17 | 1 | -1/+2 |
| | | |||||
* | | Merge branch 'PHP-7.0' | Andrey Hristov | 2016-03-16 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Fix emails in headers. @mysql.com addresses are no more since many years. | Andrey Hristov | 2016-03-16 | 1 | -4/+3 |
| | | |||||
* | | Move free_chunk and resize_chunk into memory pool | Nikita Popov | 2016-02-22 | 1 | -5/+5 |
| | | | | | | | | | | Drops 24 bytes from each chunk. For the example in bug #71468 it reduces memory usage by 30%. | ||||
* | | Merge branch 'PHP-7.0' | Lior Kaplan | 2016-01-01 | 1 | -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.0 | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
| |\ | | | | | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016) | ||||
| | * | Happy new year (Update copyright to 2016) | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
| | | | |||||
| | * | Fix for Bug #70384 mysqli_real_query(): Unknown type 245 sent by the server | Andrey Hristov | 2015-09-23 | 1 | -0/+1 |
| | | | |||||
| | * | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | | |