Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix buid with system libsqlite, see bug #74217PHP-7.1.4 | Remi Collet | 2017-03-29 | 1 | -0/+2 |
| | | | | | | 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...) | ||||
* | Implement FR #74217: deterministic sqlite functions | andrewnester | 2017-03-12 | 1 | -3/+7 |
| | |||||
* | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-04 | 1 | -1/+1 |
| | |||||
* | Merge branch 'PHP-7.0' into PHP-7.1 | Christoph M. Becker | 2016-12-29 | 1 | -0/+3 |
|\ | | | | | | | | | * PHP-7.0: Revert "Fix #73530: Unsetting result set may reset other result set" | ||||
| * | Merge branch 'PHP-5.6' into PHP-7.0 | Christoph M. Becker | 2016-12-29 | 1 | -0/+3 |
| |\ | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Revert "Fix #73530: Unsetting result set may reset other result set" # Conflicts: # ext/sqlite3/sqlite3.c | ||||
| | * | Revert "Fix #73530: Unsetting result set may reset other result set" | Christoph M. Becker | 2016-12-29 | 1 | -0/+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. | ||||
* | | | Merge branch 'PHP-7.0' into PHP-7.1 | Christoph M. Becker | 2016-11-16 | 1 | -3/+0 |
|\ \ \ | |/ / | |||||
| * | | Merge branch 'PHP-5.6' into PHP-7.0 | Christoph M. Becker | 2016-11-16 | 1 | -3/+0 |
| |\ \ | | |/ | |||||
| | * | Fix #73530: Unsetting result set may reset other result set | Christoph M. Becker | 2016-11-16 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | Merge branch 'PHP-7.0' into PHP-7.1 | Christoph M. Becker | 2016-10-18 | 1 | -2/+9 |
|\ \ \ | |/ / | |||||
| * | | Merge branch 'PHP-5.6' into PHP-7.0 | Christoph M. Becker | 2016-10-17 | 1 | -2/+9 |
| |\ \ | | |/ | | | | | | | We also use ZEND_LONG_(MAX|MIN) now instead of LONG_(MAX|MIN). | ||||
| | * | Fix #73333: 2147483647 is fetched as string | Christoph M. Becker | 2016-10-17 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>. | ||||
* | | | Merge branch 'PHP-7.0' into PHP-7.1 | Christoph M. Becker | 2016-07-27 | 1 | -8/+7 |
|\ \ \ | |/ / | |||||
| * | | Merge branch 'PHP-5.6' into PHP-7.0 | Christoph M. Becker | 2016-07-27 | 1 | -8/+7 |
| |\ \ | | |/ | | | | | | | | | | # Resolved conflicts: # ext/sqlite3/sqlite3.c | ||||
| | * | Implement #72653: SQLite should allow opening with empty filename | Christoph M. Becker | 2016-07-27 | 1 | -8/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | Merge branch 'PHP-7.0' into PHP-7.1 | Christoph M. Becker | 2016-07-25 | 1 | -2/+6 |
|\ \ \ | |/ / | |||||
| * | | Merge branch 'PHP-5.6' into PHP-7.0 | Christoph M. Becker | 2016-07-25 | 1 | -2/+6 |
| |\ \ | | |/ | | | | | | | | | | | | | # Resolved conflicts: # ext/sqlite3/sqlite3.c # ext/sqlite3/tests/bug72668.phpt | ||||
| | * | Further fixes wrt. bug #72668 | Christoph M. Becker | 2016-07-25 | 1 | -3/+9 |
| | | | | | | | | | | | | | | | Not only SQLite3::querySingle(), but also SQLite3::query() and SQLite3Stmt::execute() were affected. | ||||
* | | | Merge branch 'PHP-7.0' into PHP-7.1 | Xinchen Hui | 2016-07-25 | 1 | -1/+3 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-7.0: Fixed bug #72668 (Spurious warning when exception is thrown in user defined function) | ||||
| * | | Fixed bug #72668 (Spurious warning when exception is thrown in user defined ↵ | Xinchen Hui | 2016-07-25 | 1 | -1/+3 |
| | | | | | | | | | | | | function) | ||||
* | | | Merge branch 'PHP-7.0' | Xinchen Hui | 2016-07-11 | 1 | -1/+3 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-7.0: Fixed bug #72571 (SQLite3::bindValue, SQLite3::bindParam crash) | ||||
| * | | Fixed bug #72571 (SQLite3::bindValue, SQLite3::bindParam crash) | Xinchen Hui | 2016-07-11 | 1 | -1/+3 |
| | | | |||||
* | | | Merge branch 'PHP-7.0' | Christoph M. Becker | 2016-06-27 | 1 | -0/+6 |
|\ \ \ | |/ / | |||||
| * | | Merge branch 'PHP-5.6' into PHP-7.0 | Christoph M. Becker | 2016-06-27 | 1 | -0/+6 |
| |\ \ | | |/ | |||||
| | * | Fix #70628: Clearing bindings on an SQLite3 statement doesn't work | Christoph M. Becker | 2016-06-27 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | 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. | ||||
* | | | Fixed compilation warnings | Dmitry Stogov | 2016-06-22 | 1 | -1/+2 |
| | | | |||||
* | | | Removed "zend_fcall_info.function_table". It was assigned in many places, ↵ | Dmitry Stogov | 2016-04-27 | 1 | -2/+0 |
| | | | | | | | | | | | | but is never used. | ||||
* | | | Merge branch 'PHP-7.0' | Anatol Belski | 2016-04-12 | 1 | -0/+30 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-7.0: Fixed bug #68849 bindValue is not using the right data type | ||||
| * | | Fixed bug #68849 bindValue is not using the right data type | Anatol Belski | 2016-04-12 | 1 | -0/+30 |
| | | | |||||
* | | | Merge branch 'PHP-7.0' | Nikita Popov | 2016-03-03 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Move semicolon into TSRMLS_CACHE_EXTERN/DEFINE | Nikita Popov | 2016-03-03 | 1 | -1/+1 |
| | | | | | | | | | | | | Also re bug #71575. | ||||
* | | | Removed zend_fcall_info.symbol_table | Dmitry Stogov | 2016-03-02 | 1 | -2/+0 |
| | | | |||||
* | | | Merge branch 'PHP-7.0' | Nikita Popov | 2016-02-13 | 1 | -1/+2 |
|\ \ \ | |/ / | |||||
| * | | Merge branch 'PHP-5.6' into PHP-7.0 | Nikita Popov | 2016-02-13 | 1 | -1/+2 |
| |\ \ | | |/ | | | | | | | | | | Conflicts: ext/sqlite3/sqlite3.c | ||||
| | * | Check length of string before comparing to :memory: | Nikita Popov | 2016-02-13 | 1 | -1/+2 |
| | | | |||||
* | | | Remove version checks | Nikita Popov | 2016-01-30 | 1 | -19/+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-5.6' into PHP-7.0 | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016) | ||||
| * | Happy new year (Update copyright to 2016) | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
| | | |||||
* | | Fixed Bug #71049 (SQLite3Stmt::execute() releases bound parameter instead ↵ | Xinchen Hui | 2015-12-07 | 1 | -2/+1 |
| | | | | | | | | of internal buffer) | ||||
* | | fix crash in sqlite when executing with bound stream param | Anatol Belski | 2015-11-05 | 1 | -4/+5 |
| | | | | | | | | rel #70862 | ||||
* | | Fixed Conditional jump or move depends on uninitialised value | Xinchen Hui | 2015-10-14 | 1 | -0/+2 |
| | | |||||
* | | Fix a memory leak in sqlite3_do_callback. | Adam Harvey | 2015-09-24 | 1 | -1/+5 |
| | | | | | | | | | | | | | | This was very, very obvious when using a debug build of PHP to build the manual! Fixes bug #70571 (Memory leak in sqlite3_do_callback). | ||||
* | | Useless ZVAL_UNDEF | Xinchen Hui | 2015-09-09 | 1 | -2/+1 |
| | | |||||
* | | SQLite3::open/__construct has 2 optional args | Rasmus Lerdorf | 2015-07-07 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'PHP-5.6' | Xinchen Hui | 2015-07-07 | 1 | -2/+10 |
|\ \ | |/ | | | | | | | Conflicts: ext/sqlite3/sqlite3.c | ||||
| * | Fixed bug #69972 (Use-after-free vulnerability in sqlite3SafetyCheckSickOrOk()) | Xinchen Hui | 2015-07-07 | 1 | -2/+10 |
| | | |||||
* | | Switch position of ce in exception ce variable names | Aaron Piotrowski | 2015-07-03 | 1 | -8/+8 |
| | | |||||
* | | Change zend_exception_get_default() to zend_exception_ce | Aaron Piotrowski | 2015-07-03 | 1 | -8/+8 |
| | | |||||
* | | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵ | Dmitry Stogov | 2015-06-30 | 1 | -24/+24 |
| | | | | | | | | semantick changes). | ||||
* | | Fixed bug #69897 (segfault when manually constructing SQLite3Result) | Kalle Sommer Nielsen | 2015-06-22 | 1 | -1/+1 |
| | |