summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite/sqlite_driver.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix #80027 Terrible performance using $query->fetch on queries with many ↵Matteo Beccati2020-08-311-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 Abdou2020-08-111-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 identPeter Kokot2018-07-251-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 Stogov2018-05-281-4/+4
| | | | where we sure about string persistence.
* year++Xinchen Hui2018-01-021-1/+1
|
* Move constants into read-only data segmentDmitry Stogov2017-12-141-2/+2
|
* Encapsulate reference-counting primitives.Dmitry Stogov2017-10-271-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 flagsBohwaZ2017-09-061-1/+8
|
* fix build with old system libsqlite (sqlite3_close_v2 may be missing)Remi Collet2017-08-021-0/+4
|
* Only compute callback name in error casesNikita Popov2017-06-251-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 Stogov2017-06-191-4/+4
|
* Merge branch 'PHP-7.1'Nikita Popov2017-03-121-3/+5
|\
| * Implement FR #74217: deterministic sqlite functionsandrewnester2017-03-121-4/+5
| |
| * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
* | Switch to the v2 version of these functions.Rasmus Lerdorf2017-01-221-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 2017Sammy Kaye Powers2017-01-021-1/+1
| |
* | Use new param API in pdo_sqliteSara Golemon2016-12-311-12/+17
|/
* Fixed compilation warningsDmitry Stogov2016-06-221-1/+2
|
* Removed "zend_fcall_info.function_table". It was assigned in many places, ↵Dmitry Stogov2016-04-271-2/+0
| | | | but is never used.
* Removed zend_fcall_info.symbol_tableDmitry Stogov2016-03-021-2/+0
|
* Do not edit the value in place (might be relates to #71261)Xinchen Hui2016-01-041-2/+1
|
* 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
| |
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-4/+4
| | | | | | | | semantick changes).
* | size_t cleanup for PDOStanislav Malyshev2015-01-261-4/+4
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-24/+24
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-54/+48
| |
* | bring back all the TSRMLS_FETCH() stuffAnatol Belski2014-10-151-0/+6
| | | | | | | | for better comparability with the mainstream
* | cleanup TSRMLS_FETCH in ext/pdo*Anatol Belski2014-09-261-6/+0
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | first show to make 's' work with size_tAnatol Belski2014-08-271-3/+3
| |
* | master renames phase 7PRE_AST_MERGEAnatol Belski2014-08-251-2/+2
| |
* | master renames phase 1Anatol Belski2014-08-251-29/+29
| |
* | ported pdo and pdo_sqliteAnatol Belski2014-08-191-9/+9
| |
* | basic macro replacements, all at onceAnatol Belski2014-08-191-14/+14
| |
* | - Fixed ZTS buildFelipe Pena2014-05-131-2/+2
| |
* | Make they are in the same style of Z_ISREFXinchen Hui2014-05-031-9/+9
| |
* | Fixed AggregateXinchen Hui2014-04-241-20/+19
| |
* | Refactor pdo_sqlite (only compilable)Xinchen Hui2014-04-231-88/+70
| |
* | Cleanup (1-st round)Dmitry Stogov2014-04-151-1/+1
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* Merge branch 'PHP-5.3' into PHP-5.4Johannes Schlüter2012-06-221-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 SQliteJohannes Schlüter2012-06-221-1/+1
| |
| * - fix #55226, WSPierre Joye2012-01-311-6/+6
| |
| * - fix #55226, fix buildPierre Joye2012-01-311-2/+1
| |
| * createCollation() for pdo_sqlite as wellRasmus Lerdorf2012-01-291-0/+125
| | | | | | | | | | Closes bug #55226
| * - Year++Felipe Pena2012-01-011-1/+1
| |