summaryrefslogtreecommitdiff
path: root/ext/sqlite3
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.1' into PHP-7.2Christoph M. Becker2019-07-093-14202/+33759
|\ | | | | | | | | * PHP-7.1: Upgrade to SQLite 3.28.0
| * Upgrade to SQLite 3.28.0Christoph M. Becker2019-07-093-18036/+42884
| | | | | | | | | | | | | | | | Over the years, multiple security vulnerabilities[1] have been found and fixed in SQLite3, so it makes sense to update our bundled libsqlite to the latest available version. [1] <https://www.cvedetails.com/vulnerability-list/vendor_id-9237/Sqlite.html>
* | Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2019-05-271-0/+9
|\ \ | |/ | | | | | | * PHP-7.1: Fix bug #77967 - Bypassing open_basedir restrictions via file uris
| * Fix bug #77967 - Bypassing open_basedir restrictions via file urisStanislav Malyshev2019-05-271-0/+9
| |
| * SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy ↵bohwaz2019-03-113-0/+50
| | | | | | | | against potential security flaws
| * 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
| * Convert CRLF line endings to LFPeter Kokot2018-10-131-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch simplifies line endings tracked in the Git repository and syncs them to all include the LF style instead of the CRLF files. Newline characters: - LF (\n) (*nix and Mac) - CRLF (\r\n) (Windows) - CR (\r) (old Mac, obsolete) To see which line endings are in the index and in the working copy the following command can be used: `git ls-files --eol` Git additionally provides `.gitattributes` file to specify if some files need to have specific line endings on all platforms (either CRLF or LF). Changed files shouldn't cause issues on modern Windows platforms because also Git can do output conversion is core.autocrlf=true is set on Windows and use CRLF newlines in all files in the working tree. Unless CRLF files are tracked specifically, Git by default tracks all files in the index using LF newlines.
* | use {TMP} placeholder in phpt testsHolly Li (WIPRO LIMITED)2019-05-211-1/+1
| |
* | 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