Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix #80027 Terrible performance using $query->fetch on queries with many ↵ | Matteo Beccati | 2020-08-31 | 1 | -0/+3 |
| | | | | | | | | | | bind parameters Added new flags that allow skipping param_evt(s) that are not used by drivers, in a backwards and forward compatible manner. Updated the pgsql, mysql, sqlite and oci drivers to properly use the new flags. I've left out pdo_dblib, which doesn't have a param_hook, and pdo_firebird, which seems to be using PARAM_EVT_NORMALIZE in a wrong context (param type vs event type). | ||||
* | Fix #64705 errorInfo property of PDOException is null when ↵ | Ahmed Abdou | 2020-08-11 | 1 | -2/+1 |
| | | | | | | | | | PDO::__construct() fails PDO driver constructors are throwing PdoException without setting errorInfo, so create a new reusable function that throws exceptions for PDO and will also set the errorInfo. Use this function in pdo_mysql, pdo_sqlite, and pdo_pgsql. | ||||
* | Remove unused Git attributes ident | Peter Kokot | 2018-07-25 | 1 | -2/+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. | ||||
* | Use zend_string_release_ex() instread of zend_string_release() in places, ↵ | Dmitry Stogov | 2018-05-28 | 1 | -4/+4 |
| | | | | where we sure about string persistence. | ||||
* | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | |||||
* | Move constants into read-only data segment | Dmitry Stogov | 2017-12-14 | 1 | -2/+2 |
| | |||||
* | Encapsulate reference-counting primitives. | Dmitry Stogov | 2017-10-27 | 1 | -1/+1 |
| | | | | | | Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead. Added mactros to validate reference-counting (disabled for now). These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads. | ||||
* | Add support for SQLite open flags | BohwaZ | 2017-09-06 | 1 | -1/+8 |
| | |||||
* | fix build with old system libsqlite (sqlite3_close_v2 may be missing) | Remi Collet | 2017-08-02 | 1 | -0/+4 |
| | |||||
* | Only compute callback name in error cases | Nikita Popov | 2017-06-25 | 1 | -11/+9 |
| | | | | | Mostly the callback name is only used to report an error. Try to avoid calculating it if no error occurred. | ||||
* | Avoid useless dereferences and separations during paramter passing. | Dmitry Stogov | 2017-06-19 | 1 | -4/+4 |
| | |||||
* | Merge branch 'PHP-7.1' | Nikita Popov | 2017-03-12 | 1 | -3/+5 |
|\ | |||||
| * | Implement FR #74217: deterministic sqlite functions | andrewnester | 2017-03-12 | 1 | -4/+5 |
| | | |||||
| * | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-04 | 1 | -1/+1 |
| | | |||||
* | | Switch to the v2 version of these functions. | Rasmus Lerdorf | 2017-01-22 | 1 | -2/+2 |
| | | | | | | | | | | The sqlite3 docs suggest always using prepare_v2 and the close_v2 could potentially help with an fd leak we have been seeing | ||||
* | | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-02 | 1 | -1/+1 |
| | | |||||
* | | Use new param API in pdo_sqlite | Sara Golemon | 2016-12-31 | 1 | -12/+17 |
|/ | |||||
* | Fixed compilation warnings | Dmitry Stogov | 2016-06-22 | 1 | -1/+2 |
| | |||||
* | Removed "zend_fcall_info.function_table". It was assigned in many places, ↵ | Dmitry Stogov | 2016-04-27 | 1 | -2/+0 |
| | | | | but is never used. | ||||
* | Removed zend_fcall_info.symbol_table | Dmitry Stogov | 2016-03-02 | 1 | -2/+0 |
| | |||||
* | Do not edit the value in place (might be relates to #71261) | Xinchen Hui | 2016-01-04 | 1 | -2/+1 |
| | |||||
* | 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 |
| | | |||||
| * | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | | |||||
* | | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵ | Dmitry Stogov | 2015-06-30 | 1 | -4/+4 |
| | | | | | | | | semantick changes). | ||||
* | | size_t cleanup for PDO | Stanislav Malyshev | 2015-01-26 | 1 | -4/+4 |
| | | |||||
* | | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | | |||||
* | | trailing whitespace removal | Stanislav Malyshev | 2015-01-10 | 1 | -24/+24 |
| | | |||||
* | | first shot remove TSRMLS_* things | Anatol Belski | 2014-12-13 | 1 | -54/+48 |
| | | |||||
* | | bring back all the TSRMLS_FETCH() stuff | Anatol Belski | 2014-10-15 | 1 | -0/+6 |
| | | | | | | | | for better comparability with the mainstream | ||||
* | | cleanup TSRMLS_FETCH in ext/pdo* | Anatol Belski | 2014-09-26 | 1 | -6/+0 |
| | | |||||
* | | s/PHP 5/PHP 7/ | Johannes Schlüter | 2014-09-19 | 1 | -1/+1 |
| | | |||||
* | | first show to make 's' work with size_t | Anatol Belski | 2014-08-27 | 1 | -3/+3 |
| | | |||||
* | | master renames phase 7PRE_AST_MERGE | Anatol Belski | 2014-08-25 | 1 | -2/+2 |
| | | |||||
* | | master renames phase 1 | Anatol Belski | 2014-08-25 | 1 | -29/+29 |
| | | |||||
* | | ported pdo and pdo_sqlite | Anatol Belski | 2014-08-19 | 1 | -9/+9 |
| | | |||||
* | | basic macro replacements, all at once | Anatol Belski | 2014-08-19 | 1 | -14/+14 |
| | | |||||
* | | - Fixed ZTS build | Felipe Pena | 2014-05-13 | 1 | -2/+2 |
| | | |||||
* | | Make they are in the same style of Z_ISREF | Xinchen Hui | 2014-05-03 | 1 | -9/+9 |
| | | |||||
* | | Fixed Aggregate | Xinchen Hui | 2014-04-24 | 1 | -20/+19 |
| | | |||||
* | | Refactor pdo_sqlite (only compilable) | Xinchen Hui | 2014-04-23 | 1 | -88/+70 |
| | | |||||
* | | Cleanup (1-st round) | Dmitry Stogov | 2014-04-15 | 1 | -1/+1 |
|/ | |||||
* | Bump year | Xinchen Hui | 2014-01-03 | 1 | -1/+1 |
| | |||||
* | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | |||||
* | Merge branch 'PHP-5.3' into PHP-5.4 | Johannes Schlüter | 2012-06-22 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | * PHP-5.3: Improve check for :memory: pseudo-filename in SQlite Conflicts: ext/sqlite3/sqlite3.c | ||||
| * | Improve check for :memory: pseudo-filename in SQlite | Johannes Schlüter | 2012-06-22 | 1 | -1/+1 |
| | | |||||
| * | - fix #55226, WS | Pierre Joye | 2012-01-31 | 1 | -6/+6 |
| | | |||||
| * | - fix #55226, fix build | Pierre Joye | 2012-01-31 | 1 | -2/+1 |
| | | |||||
| * | createCollation() for pdo_sqlite as well | Rasmus Lerdorf | 2012-01-29 | 1 | -0/+125 |
| | | | | | | | | | | Closes bug #55226 | ||||
| * | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | |