summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #78192 PDO SQLite SegFault when reuse statement after schema has changedVincent2019-06-282-2/+88
| | | | Reset stmt->columns when column count changed on new execution of prepared statement
* Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* Trim trailing whitespace in *.phptPeter Kokot2018-10-143-6/+6
|
* Sync leading and final newlines in source code filesPeter Kokot2018-10-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* Trim trailing whitespace in source code filesPeter Kokot2018-10-131-1/+1
|
* Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-08-031-1/+5
|\ | | | | | | | | * PHP-7.1: Improve cleanup
| * Improve cleanupAnatol Belski2018-08-031-1/+5
| | | | | | | | The persistent connection locks the file which might prevent deletion.
| * year++Xinchen Hui2018-01-025-5/+5
| |
| * fixed typoMarkus Staab2017-03-291-1/+1
| |
* | year++Xinchen Hui2018-01-025-5/+5
| |
* | fix build with old system libsqlite (sqlite3_close_v2 may be missing)Remi Collet2017-08-022-0/+8
| |
* | 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
| |
* | fixed typoMarkus Staab2017-03-291-1/+1
| |
* | Merge branch 'PHP-7.1'Remi Collet2017-03-292-1/+6
|\ \ | |/ | | | | | | * PHP-7.1: Fix buid with system libsqlite, see bug #74217
| * Fix buid with system libsqlite, see bug #74217Remi Collet2017-03-292-1/+6
| | | | | | | | | | | | SQLITE_DETERMINISTIC only exists in recent version e.g. missing on 3.7 which is the default on RHEL/CentOS-7 and probably others (wheezy have 3.7, jessie 3.8...)
* | Merge branch 'PHP-7.1'Nikita Popov2017-03-123-3/+45
|\ \ | |/
| * Implement FR #74217: deterministic sqlite functionsandrewnester2017-03-123-4/+45
| |
| * Update copyright headers to 2017Sammy Kaye Powers2017-01-045-5/+5
| |
* | 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-025-5/+5
| |
* | Use new param API in pdo_sqliteSara Golemon2016-12-311-12/+17
| |
* | Remove more PHP 6 leftovers from testsNikita Popov2016-11-242-4/+4
|/
* Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2016-11-082-2/+2
|\ | | | | | | | | * PHP-7.0: Enable FTS4 and FTS5 for bundled libsqlite
| * Enable FTS4 and FTS5 for bundled libsqliteAnatol Belski2016-11-082-2/+2
| | | | | | | | | | | | | | FTS3 is already enabled by default, and the other FTS versions seems just to have been missed. Given that, the other FTS plugins look like a low impact so worth a try. The current bundled libsqlite versions in 7.x are proven stable already and support FTS5.
* | Fixed compilation warningsDmitry Stogov2016-06-221-1/+2
| |
* | Merge branch 'PHP-7.0'Anatol Belski2016-05-011-1/+1
|\ \ | |/ | | | | | | | | * PHP-7.0: fix test if unlink fails occasionally fix dir separator in test
| * fix test if unlink fails occasionallyAnatol Belski2016-05-011-1/+1
| |
* | Merge branch 'PHP-7.0'Sara Golemon2016-04-301-1/+4
|\ \ | |/ | | | | | | * PHP-7.0: Create temporary sqlite db in test dir rather than cwd (and clean it up)
| * Create temporary sqlite db in test dir rather than cwd (and clean it up)Sara Golemon2016-04-301-1/+4
| | | | | | | | Well behaved tests do not leave their droppings all over the filesystem.
* | 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
| |
* | Remove version checksNikita Popov2016-01-301-2/+0
| | | | | | | | | | | | | | | | | | | | | | PHP_VERSION_ID PHP_API_VERSION ZEND_MODULE_API_NO PHP_MAJOR_VERSION, PHP_MINOR_VERSION ZEND_ENGINE_2 I've left litespeed alone, as it seems to genuinely maintain support for many PHP versions.
* | Merge branch 'PHP-7.0'Xinchen Hui2016-01-041-2/+1
|\ \ | |/
| * Do not edit the value in place (might be relates to #71261)Xinchen Hui2016-01-041-2/+1
| |
* | Merge branch 'PHP-7.0'Lior Kaplan2016-01-015-5/+5
|\ \ | |/ | | | | | | | | | | * 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-015-5/+5
| |\ | | | | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| | * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-015-5/+5
| | |
| | * bump yearXinchen Hui2015-01-155-5/+5
| | |
* | | Remove leftovers of TSRMLS in docsTom Van Looy2015-12-251-10/+0
|/ /
* | use Z* macro nameAnatol Belski2015-11-051-1/+1
| |
* | fix pdo_sqlite crash with empty bound streamAnatol Belski2015-11-052-2/+39
| |
* | fix test redirection when run not from source rootAnatol Belski2015-10-231-1/+1
| |
* | Fixed bug #70221 (persistent sqlite connection + custom function segfaults)Xinchen Hui2015-08-101-0/+15
| |
* | Various warning fixesNikita Popov2015-07-171-1/+1
| |
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-302-5/+5
| | | | | | | | semantick changes).
* | Use zend_string to represent pdo_column_data.name and avoid duplication.Dmitry Stogov2015-05-051-2/+3
| |
* | Make internal non-static methods to be executed in context of class. Set ↵Dmitry Stogov2015-04-231-1/+1
| | | | | | | | EG(scope) accordingly.
* | Finish PHP 4 constructor deprecationNikita Popov2015-03-311-2/+2
| |
* | cleanup mod version macros, round 3Anatol Belski2015-03-232-7/+4
| |