Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Fix #73530: Unsetting result set may reset other result set" | Christoph M. Becker | 2016-12-29 | 2 | -32/+4 |
| | | | | | | | This reverts commit eb570294a289b45d0dd38efc71065d6b0d314c4b. That commit caused a regression, so it's probably best to revert it, and to tackle the issue for the next minor release. | ||||
* | Fix #73530: Unsetting result set may reset other result set | Christoph M. Becker | 2016-11-16 | 2 | -4/+32 |
| | | | | | | | | | Calling sqlite3_reset() when a result set object is freed can cause undesired and maybe even hard to track interference with other result sets. Furthermore, there is no need to call sqlite3_reset(), because that is implicitly called on SQLite3Stmt::execute(), and users are encouraged to explicitly call either SQLite3Result::finalize() or SQLite3Stmt::reset() anyway. | ||||
* | Fix #73333: 2147483647 is fetched as string | Christoph M. Becker | 2016-10-17 | 4 | -4/+37 |
| | | | | | | | | | We return all integers that can be represented as such by PHP as integers, and only those that exceed the possible range as strings. On builds which represent integers with 64 bits, the range check is unnecessary and might cause code checkers to complain, so we skip this special casing via the preprocessor according to <http://git.php.net/?p=php-src.git;a=commit;h=99d087e5>. | ||||
* | add test for bug #73068 | Anatol Belski | 2016-09-13 | 1 | -0/+37 |
| | |||||
* | Make test case more resilient | Christoph M. Becker | 2016-09-03 | 1 | -0/+2 |
| | | | | | | | When ran from a root directory the test case failed, because the open_basedir restriction for "../[…]" won't kick in. Therefore we change the current working directory to the test case's directory, as discussed on internals, see <http://news.php.net/php.internals/95585>. | ||||
* | Implement #72653: SQLite should allow opening with empty filename | Christoph M. Becker | 2016-07-27 | 2 | -15/+9 |
| | | | | | | | | | | | | | | From the [sqlite3_open](https://www.sqlite.org/c3ref/open.html) docs: | If the filename is an empty string, then a private, temporary on-disk | database will be created. This private database will be automatically | deleted as soon as the database connection is closed. We make that facility available to userland. While we're at it, we also do some minor optimizations, remove the unnecessary check for NUL characters in filename, which is already catered to by ZPP(p), and add a missing `return` in case db_obj isn't initialized. | ||||
* | Further fixes wrt. bug #72668 | Christoph M. Becker | 2016-07-25 | 2 | -3/+50 |
| | | | | | Not only SQLite3::querySingle(), but also SQLite3::query() and SQLite3Stmt::execute() were affected. | ||||
* | Fix #70628: Clearing bindings on an SQLite3 statement doesn't work | Christoph M. Becker | 2016-06-27 | 2 | -0/+61 |
| | | | | | Obiously, it isn't sufficient to call sqlite3_clear_bindings() alone, but also the bound_params of the php_sqlite3_stmt have to be cleared. | ||||
* | Check length of string before comparing to :memory: | Nikita Popov | 2016-02-13 | 1 | -1/+2 |
| | |||||
* | Happy new year (Update copyright to 2016) | Lior Kaplan | 2016-01-01 | 3 | -3/+3 |
| | |||||
* | Fixed bug #69972 (Use-after-free vulnerability in sqlite3SafetyCheckSickOrOk()) | Xinchen Hui | 2015-07-07 | 2 | -2/+38 |
| | |||||
* | Merge branch 'PHP-5.5' into PHP-5.6 | Lior Kaplan | 2015-06-08 | 2 | -2207/+4818 |
|\ | | | | | | | | | * PHP-5.5: Upgrade bundled sqlite to 3.8.10.2 | ||||
| * | Upgrade bundled sqlite to 3.8.10.2 | Lior Kaplan | 2015-06-08 | 2 | -2207/+4818 |
| | | | | | | | | Includes fixes for CVE-2015-3414, CVE-2015-3415, CVE-2015-3416 done in 3.8.9 | ||||
* | | Merge branch 'PHP-5.5' into PHP-5.6 | Stanislav Malyshev | 2015-04-05 | 2 | -0/+39 |
|\ \ | |/ | | | | | | | * PHP-5.5: Fix bug #66550 (SQLite prepared statement use-after-free) | ||||
| * | Merge branch 'PHP-5.4' into PHP-5.5 | Stanislav Malyshev | 2015-04-05 | 2 | -0/+39 |
| |\ | | | | | | | | | | | | | * PHP-5.4: Fix bug #66550 (SQLite prepared statement use-after-free) | ||||
| | * | Fix bug #66550 (SQLite prepared statement use-after-free) | Stanislav Malyshev | 2015-04-05 | 2 | -0/+39 |
| | | | |||||
| | * | Bump year | Xinchen Hui | 2014-01-03 | 3 | -3/+3 |
| | | | |||||
* | | | Merge branch 'PHP-5.5' into PHP-5.6 | Anatol Belski | 2015-03-25 | 3 | -1889/+3744 |
|\ \ \ | |/ / | | | | | | | | | | | | | * PHP-5.5: Fixed bug #69287 upgrade bundled sqlite to 3.8.8.3 fix dir separator in test | ||||
| * | | Fixed bug #69287 upgrade bundled sqlite to 3.8.8.3 | Anatol Belski | 2015-03-25 | 2 | -1888/+3743 |
| | | | |||||
| * | | fix dir separator in test | Anatol Belski | 2015-03-25 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'PHP-5.5' into PHP-5.6 | Stanislav Malyshev | 2015-03-22 | 1 | -0/+4 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | * PHP-5.5: Fix #68760: Fix freeing null segfault. Added test for behaviour. Conflicts: ext/sqlite3/tests/bug68760.phpt | ||||
| * | | Fix #68760: Fix freeing null segfault. Added test for behaviour. | Danack | 2015-03-22 | 2 | -6/+47 |
| | | | |||||
| * | | Bump year | Xinchen Hui | 2015-01-15 | 4 | -4/+4 |
| | | | |||||
* | | | Fix #68760: Fix freeing null segfault. Added test for behaviour. | Danack | 2015-03-22 | 2 | -6/+43 |
| | | | |||||
* | | | bump year | Xinchen Hui | 2015-01-15 | 4 | -4/+4 |
| | | | |||||
* | | | Merge branch 'PHP-5.5' into PHP-5.6 | Anatol Belski | 2015-01-12 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-5.5: Fixed bug #68771 SQL syntax error in sqlite lib | ||||
| * | | Fixed bug #68771 SQL syntax error in sqlite lib | Anatol Belski | 2015-01-12 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'PHP-5.5' into PHP-5.6 | Julien Pauli | 2015-01-09 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-5.5: Fix bug #68260 | ||||
| * | | Fix bug #68260 | Julien Pauli | 2015-01-09 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'PHP-5.5' into PHP-5.6 | Anatol Belski | 2014-12-05 | 3 | -6217/+11704 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | * PHP-5.5: . Fixed bug #68120 Update bundled libsqlite Conflicts: ext/sqlite3/libsqlite/sqlite3.c | ||||
| * | | . Fixed bug #68120 Update bundled libsqlite | Anatol Belski | 2014-12-05 | 3 | -6213/+11700 |
| | | | |||||
* | | | typo fixes - https://github.com/vlajos/misspell_fixer | Veres Lajos | 2014-11-23 | 1 | -63/+63 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ext/ftp/ftp.h ext/pcre/pcrelib/pcre_printint.c ext/pcre/pcrelib/sljit/sljitLir.c ext/pcre/pcrelib/sljit/sljitLir.h ext/pcre/pcrelib/sljit/sljitNativeARM_32.c ext/pcre/pcrelib/sljit/sljitNativeTILEGX_64.c ext/pgsql/pgsql.c ext/phar/func_interceptors.c ext/soap/soap.c ext/standard/image.c | ||||
* | | | Add object initialization checks for sqlite3 classes | Stanislav Malyshev | 2014-07-26 | 1 | -9/+31 |
| | | | |||||
* | | | Merge branch 'PHP-5.5' into PHP-5.6 | Anatol Belski | 2014-04-11 | 2 | -1848/+2495 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-5.5: Fixed bug #66967 Updated the bundled libsqlite to 3.8.4.3 | ||||
| * | | Fixed bug #66967 Updated the bundled libsqlite to 3.8.4.3 | Anatol Belski | 2014-04-11 | 2 | -1848/+2495 |
| | | | |||||
| * | | updated libsqlite to 3.8.3.1 in 5.5 branch, too | Anatol Belski | 2014-03-10 | 4 | -18660/+36680 |
| | | | |||||
| * | | Bump year | Xinchen Hui | 2014-01-03 | 3 | -3/+3 |
| | | | |||||
* | | | removed the libsqlite patch as it's not relevant anymore | Anatol Belski | 2014-03-09 | 1 | -18/+0 |
| | | | |||||
* | | | updated bundled libsqlite to 3.8.3.1 | Anatol Belski | 2014-03-09 | 3 | -18642/+36680 |
| | | | |||||
* | | | Bump year | Xinchen Hui | 2014-01-03 | 3 | -3/+3 |
| | | | |||||
* | | | Implement variadic function syntax | Nikita Popov | 2013-09-26 | 1 | -1/+1 |
| | | | | | | | | | | | | As per RFC: https://wiki.php.net/rfc/variadics | ||||
* | | | let the libsqlite3 symbols be exported in dll | Anatol Belski | 2013-09-17 | 1 | -1/+1 |
|/ / | |||||
* | | Fix long-standing visual pain point: the misalignment of './configure help' ↵ | Christopher Jones | 2013-08-06 | 1 | -1/+1 |
| | | | | | | | | | | | | text. Whitespace changes and a couple of grammar fixes. | ||||
* | | Merge branch 'PHP-5.4' into PHP-5.5 | Stanislav Malyshev | 2013-08-04 | 1 | -6/+6 |
|\ \ | |/ | | | | | | | | | | | | | * PHP-5.4: non living code related typo fixes Conflicts: Zend/zend_compile.c | ||||
| * | non living code related typo fixes | Veres Lajos | 2013-08-04 | 1 | -6/+6 |
| | | |||||
| * | typo fixes | Veres Lajos | 2013-07-15 | 1 | -13/+13 |
| | | |||||
| * | less serious compatAbility fixes | Veres Lajos | 2013-07-15 | 1 | -1/+1 |
| | | |||||
| * | typos (orig) | Veres Lajos | 2013-07-15 | 1 | -2/+2 |
| | | |||||
| * | Merge branch 'pull-request/341' | Stanislav Malyshev | 2013-06-10 | 1 | -35/+35 |
| | | | | | | | | | | * pull-request/341: (23 commits) typofixes | ||||
* | | typo fixes | Veres Lajos | 2013-07-15 | 1 | -13/+13 |
| | |