Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'PHP-7.2' into PHP-7.3 | Christoph M. Becker | 2019-08-20 | 1 | -1/+1 |
|\ | | | | | | | | | * PHP-7.2: fix the problem for connect_attr, set db condition, and add a new attribute _server_host | ||||
| * | fix the problem for connect_attr, set db condition, and add a new attribute ↵ | Qianqian Bu | 2019-08-20 | 1 | -1/+1 |
| | | | | | | | | _server_host | ||||
* | | Merge branch 'PHP-7.2' into PHP-7.3 | Andrey Hristov | 2019-06-21 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | Add explicit cast to uint32_t. | Andrey Hristov | 2019-06-21 | 1 | -1/+3 |
| | | | | | | | | | | It works even without it but explicit stuff is better. The compiler probably converts the 16-bit uint16_t to uint32_t before doing the shift. | ||||
| * | Trim trailing whitespace in source code files | Peter Kokot | 2018-10-13 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'PHP-7.2' into PHP-7.3 | Nikita Popov | 2018-09-04 | 1 | -88/+2 |
|\ \ | |/ | |||||
| * | Merge branch 'PHP-7.1' into PHP-7.2 | Nikita Popov | 2018-09-04 | 1 | -111/+2 |
| |\ | |||||
| | * | Revert all MySQL auth related changes | Nikita Popov | 2018-09-04 | 1 | -111/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per bug #76651 these changes do not appear to work correctly in some cases. As no immediate fix seems to be forthcoming, I'm reverting these changes. Revert "Fixed invalid free introduced by d6e81f0bfd0cb90586dd83d4fd47a4302605261a (avoid keeping "invalid" pointer)" This reverts commit 11507c0e1bfa17a96480f3648397f6975c31551e. Revert "Fix mysqlnd build without openssl" This reverts commit 6c9db02ff7812c298d1e7e292ba731d9d3a66790. Revert "Fix VC compilation as variable size array is not supported" This reverts commit f96df64cb2219fda42ca875483f874cf3052647c. Revert "Fix MySQL 8 auth" This reverts commit d6e81f0bfd0cb90586dd83d4fd47a4302605261a. | ||||
* | | | 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 |
| | |