summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_result.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | Use mnd_emalloc/mnd_efreeDmitry Stogov2017-11-141-2/+2
| |
* | Reimplemented MYSQLND_MEMORY_POOL to avoid allocations ouside of pool. Store ↵Dmitry Stogov2017-11-141-67/+39
| | | | | | | | all data related to result set in the pool.
* | Use mnd_erealloc()Dmitry Stogov2017-11-141-2/+2
| |
* | Merge mysqlnd_field_hash_key structure into st_mysqlnd_field.Dmitry Stogov2017-11-141-6/+6
| |
* | Use stack-allocated packets.Dmitry Stogov2017-11-141-70/+55
| |
* | Made "result", "statement" and "last_message" to always use Zend MM heap. ↵Dmitry Stogov2017-11-021-42/+36
|/ | | | (even for persistent connections these entities don't relive request boundary)
* Use zval_ptr_dtor_nogc() for data that can't be circularDmitry Stogov2017-06-291-5/+5
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Merge branch 'PHP-7.1'Andrey Hristov2016-12-121-4/+0
|\
| * Optimized memory handling of BIT fields. Less memory copies and lessAndrey Hristov2016-12-121-4/+0
| | | | | | | | memory usage.
| * Fix for bug #71863 Segfault when EXPLAIN with "Unknown column" errorAndrey Hristov2016-07-251-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | The reason was that after the big refactoring of mysqlnd at the end of last year code that is initializing the error_info structure in the result set was not added. It existed already for connections and PS. The code that segfaults is hit only with MariaDB because MariaDB sends full metadata about the EXPLAIN query + EOF packet and only then it sends an error packet. MySQL doesn't do that but sends directly an error which is caught (by different code path). As errors during execution (which means after sending meta) are pretty rare there was no test case of MySQL to catch it.
* | further normalizations, uint vs uint32_tAnatol Belski2016-11-261-1/+1
| | | | | | | | | | | | fix merge mistake yet one more replacement run
* | Fix for bug #71863 Segfault when EXPLAIN with "Unknown column" errorAndrey Hristov2016-07-231-1/+10
|/ | | | | | | | | | | | The reason was that after the big refactoring of mysqlnd at the end of last year code that is initializing the error_info structure in the result set was not added. It existed already for connections and PS. The code that segfaults is hit only with MariaDB because MariaDB sends full metadata about the EXPLAIN query + EOF packet and only then it sends an error packet. MySQL doesn't do that but sends directly an error which is caught (by different code path). As errors during execution (which means after sending meta) are pretty rare there was no test case of MySQL to catch it.
* Fix compiler warnings in mysqlndKalle Sommer Nielsen2016-04-031-1/+1
|
* Merge branch 'PHP-7.0'Andrey Hristov2016-03-161-3/+3
|\
| * Fix emails in headers. @mysql.com addresses are no more since many years.Andrey Hristov2016-03-161-4/+3
| |
* | Move free_chunk and resize_chunk into memory poolNikita Popov2016-02-221-2/+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 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
| | |
* | | MNDR:Andrey Hristov2015-11-121-84/+97
| | | | | | | | | | | | - constify some parameters to MYSQLND_RES functions
* | | MNDR:Andrey Hristov2015-11-121-90/+98
| | | | | | | | | | | | | | | | | | - cleanup in mysqlnd_result.c - switch from zend_ulong to size_t for lengths. Accordingly change mysqli and pdo_mysql for this.
* | | MNDR:Andrey Hristov2015-11-121-2/+0
| | | | | | | | | | | | - remove unused macros
* | | MNDR:Andrey Hristov2015-11-121-2/+1
| | | | | | | | | | | | - move things out of mysqlnd_priv.h
* | | MNDR:Andrey Hristov2015-11-121-2/+2
| | | | | | | | | | | | | | | - move from char* + len to MYSQLND_STRING - add some more const modifiers
* | | MNDR:Andrey Hristov2015-11-121-4/+4
| | | | | | | | | | | | | | | - now send_command_handle_response() also doesn't depend directly on MYSQLND_CONN_DATA
* | | MNDR:Andrey Hristov2015-11-121-17/+17
| | | | | | | | | | | | - rename the macro for updating the connection state
* | | MNDR:Andrey Hristov2015-11-121-32/+32
| | | | | | | | | | | | - make MYSQLND_ERROR_INFO a class
* | | MDNR:Andrey Hristov2015-11-121-7/+14
| | | | | | | | | | | | | | | - make MYSQLND_UPSERT_STATUS more like an object that a simple structure Still use macros to make updates simple
* | | MNDR:Andrey Hristov2015-11-121-4/+4
|/ / | | | | | | | | - Rename MYSQLND_PROTOCOL to MYSQLND_PROTOCOL_PAYLOAD_DECODER_FACTORY - Rename other symbols related to MYSQLND_PROTOCOL accordingly
* | Merge branch 'PHP-5.6'Stanislav Malyshev2015-02-011-1/+1
|\ \ | |/ | | | | | | * PHP-5.6: fix sizeof size
| * Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-02-011-1/+1
| |\ | | | | | | | | | | | | * PHP-5.5: fix sizeof size
| | * Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2015-02-011-1/+1
| | |\ | | | | | | | | | | | | | | | | * PHP-5.4: fix sizeof size
| | | * fix sizeof sizeStanislav Malyshev2015-02-011-1/+1
| | | |
| | * | Bump yearXinchen Hui2015-01-151-1/+1
| | | |
| * | | bump yearXinchen Hui2015-01-151-1/+1
| | | |
* | | | bump yearXinchen Hui2015-01-151-1/+1
| | | |
* | | | trailing whitespace removalStanislav Malyshev2015-01-101-12/+12
| | | |
* | | | second shot on removing TSRMLS_*Anatol Belski2014-12-141-2/+2
| | | |
* | | | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-114/+114
| | | |
* | | | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| | | |
* | | | master renames phase 1Anatol Belski2014-08-251-21/+21
| | | |
* | | | yet trivial fixes to mysql extsAnatol Belski2014-08-211-1/+1
| | | |
* | | | ported mysql and mysqlndAnatol Belski2014-08-191-15/+15
| | | |
* | | | basic macro replacements, all at onceAnatol Belski2014-08-191-10/+10
| | | |
* | | | Merge branch 'PHP-5.6'Lior Kaplan2014-08-171-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: typofixes Conflicts: ext/spl/php_spl.c
| * | | Merge branch 'PHP-5.5' into PHP-5.6Lior Kaplan2014-08-171-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-5.5: typofixes
| | * | Merge branch 'PHP-5.4' into PHP-5.5Lior Kaplan2014-08-171-1/+1
| | |\ \ | | | |/ | | | | | | | | | | | | * PHP-5.4: typofixes
| | | * typofixesVeres Lajos2014-08-171-1/+1
| | | |
* | | | Don't use zend_string for other fields (only name here is enough)Xinchen Hui2014-06-251-3/+3
| | | |