summaryrefslogtreecommitdiff
path: root/ext/sqlite3
Commit message (Collapse)AuthorAgeFilesLines
* SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy ↵bohwaz2019-03-113-0/+50
| | | | against potential security flaws
* Fix #77051: Issue with re-binding on SQLite3BohwaZ2018-11-292-0/+87
| | | | We have to call `sqlite3_reset()` before re-binding the parameters.
* Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-154-4/+1
| | | | | | | | | | | | | | | | | | | | | | | 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
* Merge branch 'PHP-7.1' into PHP-7.2Christoph M. Becker2018-07-262-1/+20
|\ | | | | | | | | * PHP-7.1: Fix #76665: SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't juggle
| * Fix #76665: SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't juggleChristoph M. Becker2018-07-262-1/+20
| | | | | | | | | | We need to ensure that a zval IS_DOUBLE before we access it as such. In this case we apply common type juggling to do so.
| * year++Xinchen Hui2018-01-023-3/+3
| |
* | year++Xinchen Hui2018-01-023-3/+3
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Remi Collet2017-08-311-1/+1
|\ \ | |/ | | | | | | * PHP-7.1: move AC_DEFINE in the right position (in bundled lib conditon)
| * Merge branch 'PHP-7.0' into PHP-7.1Remi Collet2017-08-311-1/+1
| |\ | | | | | | | | | | | | * PHP-7.0: move AC_DEFINE in the right position (in bundled lib conditon)
| | * move AC_DEFINE in the right position (in bundled lib conditon)Remi Collet2017-08-311-1/+1
| | |
* | | Update to SQLite 3.20.1Christoph M. Becker2017-08-262-9/+10
| | |
* | | win32 for pdo_sqliteRemi Collet2017-08-041-0/+1
| | |
* | | Merge branch 'PHP-7.1' into PHP-7.2Remi Collet2017-08-042-1/+3
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: use AC_DEFINE + win32
| * | Merge branch 'PHP-7.0' into PHP-7.1Remi Collet2017-08-042-1/+3
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: use AC_DEFINE + win32
| | * use AC_DEFINE + win32Remi Collet2017-08-042-1/+3
| | |
* | | Merge branch 'PHP-7.1' into PHP-7.2Remi Collet2017-08-022-1/+8
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: fix build with old system libsqlite (sqlite3_errstr may be missing)
| * | Merge branch 'PHP-7.0' into PHP-7.1Remi Collet2017-08-022-1/+8
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: fix build with old system libsqlite (sqlite3_errstr may be missing)
| | * fix build with old system libsqlite (sqlite3_errstr may be missing)Remi Collet2017-08-022-1/+8
| | |
* | | Update to SQLite 3.20.0Christoph M. Becker2017-08-013-3177/+4900
| | |
* | | Merge branch 'PHP-7.1'Anatol Belski2017-07-091-3/+6
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fixed bug #74883 SQLite3::__construct() produces "out of memory" exception with invalid flags
| * | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-07-091-3/+6
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: Fixed bug #74883 SQLite3::__construct() produces "out of memory" exception with invalid flags
| | * Fixed bug #74883 SQLite3::__construct() produces "out of memory" exception ↵Anatol Belski2017-07-081-3/+6
| | | | | | | | | | | | with invalid flags
* | | Only compute callback name in error casesNikita Popov2017-06-251-11/+8
| | | | | | | | | | | | | | | Mostly the callback name is only used to report an error. Try to avoid calculating it if no error occurred.
* | | Merge branch 'pull-request/2528'Christoph M. Becker2017-06-192-8/+69
|\ \ \ | | | | | | | | | | | | | | | | | | | | * pull-request/2528: Change flags to use SQLITE3_OPEN_READ* constants instead of a fake-boolean, add tests on errors Implement writing to BLOBs in SQLite3
| * | | Change flags to use SQLITE3_OPEN_READ* constants instead of a fake-boolean, ↵BohwaZ2017-06-082-5/+19
| | | | | | | | | | | | | | | | add tests on errors
| * | | Implement writing to BLOBs in SQLite3BohwaZ2017-05-182-6/+53
| | | |
* | | | Update to SQLite 3.19.3Christoph M. Becker2017-06-092-10/+16
| | | |
* | | | Merge branch 'PHP-7.1'Christoph M. Becker2017-06-091-1/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | * PHP-7.1: Use reasonable SQLite3 module version
| * | | Merge branch 'PHP-7.0' into PHP-7.1Christoph M. Becker2017-06-091-1/+1
| |\ \ \ | | | |/ | | |/| | | | | | | | | * PHP-7.0: Use reasonable SQLite3 module version
| | * | Use reasonable SQLite3 module versionChristoph M. Becker2017-06-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since PECL/sqlite3 has been moved to ext/sqlite3 in 2008, the SQLite3 module version is hardcoded to `0.7-dev`. It doesn't appear to make much sense to have an own module version for a bundled extensions, but as other code might rely on it, we don't remove the constant but rather make it an alias of the PHP version.
* | | | Update to SQLite 3.19.2Christoph M. Becker2017-06-072-1825/+2633
| |_|/ |/| |
* | | Update to SQLite 3.18.0Christoph M. Becker2017-04-173-1160/+1896
| | |
* | | Merge branch 'PHP-7.1'Anatol Belski2017-04-111-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fix misleading typo in identifiers
| * | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-04-111-4/+4
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: Fix misleading typo in identifiers
| | * Fix misleading typo in identifiersAnatol Belski2017-04-111-4/+4
| | |
* | | Merge branch 'PHP-7.1'Joe Watkins2017-04-111-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: fixed bug #74413 wrong reflection on SQLite3::enableExceptions
| * | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-04-111-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: fixed bug #74413 wrong reflection on SQLite3::enableExceptions
| | * fixed bug #74413 wrong reflection on SQLite3::enableExceptionsJoe Watkins2017-04-111-1/+1
| | |
| | * Update copyright headers to 2017Sammy Kaye Powers2017-01-043-3/+3
| | |
| * | fixed typoMarkus Staab2017-03-291-1/+1
| | |
* | | 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-122-3/+36
|\ \ \ | |/ /
| * | Implement FR #74217: deterministic sqlite functionsandrewnester2017-03-122-3/+36
| | |
| * | Update copyright headers to 2017Sammy Kaye Powers2017-01-043-3/+3
| | |
* | | Update to SQLite 3.17.0Christoph M. Becker2017-02-142-795/+1499
| | |
* | | Update to SQLite 3.16.2Christoph M. Becker2017-01-122-66/+119
| | |
* | | Update to SQLite 3.16.1Christoph M. Becker2017-01-042-1596/+2818
| | |
* | | Update copyright headers to 2017Sammy Kaye Powers2017-01-023-3/+3
| | |