summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite/sqlite_statement.c
Commit message (Collapse)AuthorAgeFilesLines
* Report len as -1 instead of INT_MAXNikita Popov2020-07-081-1/+1
| | | | | | | Per docs it should be -1. And would be on 32-bit systems, but not on 64-bit systems. (cherry picked from commit 39111585a2f8e40e72bdc662eb8b2e3c19e93615)
* Fix #79664: PDOStatement::getColumnMeta fails on empty result setChristoph M. Becker2020-06-021-1/+1
| | | | | | | As its name suggests, `sqlite3_data_count` returns the number of columns in the current row of the result set; we are interested in the number of columns regardless of the current row, so we have to use `sqlite3_column_count` instead.
* Merge branch 'PHP-7.2' into PHP-7.3Christoph M. Becker2019-06-281-2/+42
|\ | | | | | | | | * PHP-7.2: Fix bug #78192 PDO SQLite SegFault when reuse statement after schema has changed
| * Fix bug #78192 PDO SQLite SegFault when reuse statement after schema has changedVincent2019-06-281-2/+42
| | | | | | | | Reset stmt->columns when column count changed on new execution of prepared statement
| * year++Xinchen Hui2018-01-021-1/+1
| |
* | 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.
* | year++Xinchen Hui2018-01-021-1/+1
| |
* | Turn "pdo_stmt_methods" into constants.Dmitry Stogov2017-12-141-1/+1
|/
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+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 Z* macro nameAnatol Belski2015-11-051-1/+1
| |
* | fix pdo_sqlite crash with empty bound streamAnatol Belski2015-11-051-2/+3
| |
* | Various warning fixesNikita Popov2015-07-171-1/+1
| |
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-1/+1
| | | | | | | | semantick changes).
* | Use zend_string to represent pdo_column_data.name and avoid duplication.Dmitry Stogov2015-05-051-2/+3
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-11/+11
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-9/+9
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | master renames phase 7PRE_AST_MERGEAnatol Belski2014-08-251-1/+1
| |
* | master renames phase 3Anatol Belski2014-08-251-1/+1
| |
* | master renames phase 1Anatol Belski2014-08-251-7/+7
| |
* | ported pdo and pdo_sqliteAnatol Belski2014-08-191-4/+4
| |
* | basic macro replacements, all at onceAnatol Belski2014-08-191-5/+5
| |
* | Various bugs fixedXinchen Hui2014-04-241-18/+33
| |
* | Refactor pdo_sqlite (only compilable)Xinchen Hui2014-04-231-23/+20
| |
* | Cleanup (1-st round)Dmitry Stogov2014-04-151-7/+7
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Fix bug #63916: PDO::PARAM_INT casts to 32bit int internally even on 64bit ↵Lars Strojny2013-01-141-0/+6
| | | | builds in pdo_sqlite
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFB: Re-introduce the Matteo's patch and combine default & text handlingIlia Alshanetsky2009-05-201-10/+0
| | | | | since they appear to be the same irregardless on notes inside sqlite3.h
* The \0 removal is only needed prior to 3.4.0Ilia Alshanetsky2009-05-191-2/+3
|
* Revert faulty warning fixIlia Alshanetsky2009-05-191-0/+4
|
* MFHMatteo Beccati2009-05-071-5/+0
| | | | | - Fixed bug #48185 removing no-op code
* MFH: reverted previous patch, using explicit cast insteadAlexey Zakhlestin2009-04-011-15/+7
|
* MFH: const pointer was used in non-const contextAlexey Zakhlestin2009-04-011-4/+12
|
* MFH Add table key to getColumnMeta() with SQLiteScott MacVicar2009-01-131-0/+7
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* Fixed bug #41135 (When binding as binary data use sqlite3_bind_blob() to ↵Scott MacVicar2008-03-071-2/+33
| | | | | | | stop errors with null bytes.) Fixed bug #42443 (Bind integers and booleans as integers rather than strings.)
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* Fixed bug #41831 (pdo_sqlite prepared statements convert resources toIlia Alshanetsky2007-08-011-1/+1
| | | | | strings).
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* MFH: fix #39564 (PDO::errorInfo() returns inconsistent information when ↵Antony Dovgal2006-11-271-0/+3
| | | | sqlite3_step() fails)
* bump year and license versionfoobar2006-01-011-3/+3
|
* - TSRM fixMarcus Boerger2005-09-291-1/+1
|