Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unnecessary uses of z/ parameters | Nikita Popov | 2018-06-25 | 1 | -2/+2 |
| | |||||
* | Export standard object handlers, to avoid indirect access | Dmitry Stogov | 2018-05-31 | 1 | -3/+3 |
| | |||||
* | Use zend_string_release_ex() instread of zend_string_release() in places, ↵ | Dmitry Stogov | 2018-05-28 | 1 | -7/+7 |
| | | | | where we sure about string persistence. | ||||
* | Remove return types from some magic method in protos | Gabriel Caruso | 2018-03-09 | 1 | -2/+2 |
| | | | | __construct, __destruct, __wakeup does not have return types defined. | ||||
* | Usee reference-counting instead of duplication | Dmitry Stogov | 2018-01-19 | 1 | -1/+1 |
| | |||||
* | Use stack allocated zvals | Xinchen Hui | 2018-01-07 | 1 | -3/+1 |
| | |||||
* | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | |||||
* | Move constants into read-only data segment | Dmitry Stogov | 2017-12-14 | 1 | -1/+1 |
| | |||||
* | Move constants into read-only data segment | Dmitry Stogov | 2017-12-14 | 1 | -3/+3 |
| | |||||
* | Add zend_object_alloc() API | Nikita Popov | 2017-11-25 | 1 | -3/+3 |
| | | | | | | | | | | | Using ecalloc() to create objects is expensive, because the dynamic-size memset() is unreasonably slow. Make sure we only zero the main object structure with known size, as the properties are intialized separately anyway. Technically we do not need to zero the embedded zend_object structure either, but as long as the memset argument is constant, a couple more bytes don't really matter. | ||||
* | Avoid HashTable allocations for empty arrays (using zend_empty_array). | Dmitry Stogov | 2017-10-24 | 1 | -1/+1 |
| | |||||
* | Merge branch 'PHP-7.1' into PHP-7.2 | Remi Collet | 2017-08-02 | 1 | -0/+4 |
|\ | | | | | | | | | * PHP-7.1: fix build with old system libsqlite (sqlite3_errstr may be missing) | ||||
| * | Merge branch 'PHP-7.0' into PHP-7.1 | Remi Collet | 2017-08-02 | 1 | -0/+4 |
| |\ | | | | | | | | | | | | | * 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 Collet | 2017-08-02 | 1 | -0/+4 |
| | | | |||||
* | | | Merge branch 'PHP-7.1' | Anatol Belski | 2017-07-09 | 1 | -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.1 | Anatol Belski | 2017-07-09 | 1 | -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 Belski | 2017-07-08 | 1 | -3/+6 |
| | | | | | | | | | | | | with invalid flags | ||||
* | | | Only compute callback name in error cases | Nikita Popov | 2017-06-25 | 1 | -11/+8 |
| | | | | | | | | | | | | | | | Mostly the callback name is only used to report an error. Try to avoid calculating it if no error occurred. | ||||
* | | | Change flags to use SQLITE3_OPEN_READ* constants instead of a fake-boolean, ↵ | BohwaZ | 2017-06-08 | 1 | -4/+6 |
| | | | | | | | | | | | | add tests on errors | ||||
* | | | Implement writing to BLOBs in SQLite3 | BohwaZ | 2017-05-18 | 1 | -6/+35 |
| | | | |||||
* | | | Merge branch 'PHP-7.1' | Anatol Belski | 2017-04-11 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-7.1: Fix misleading typo in identifiers | ||||
| * | | Merge branch 'PHP-7.0' into PHP-7.1 | Anatol Belski | 2017-04-11 | 1 | -4/+4 |
| |\ \ | | |/ | | | | | | | | | | * PHP-7.0: Fix misleading typo in identifiers | ||||
| | * | Fix misleading typo in identifiers | Anatol Belski | 2017-04-11 | 1 | -4/+4 |
| | | | |||||
* | | | Merge branch 'PHP-7.1' | Joe Watkins | 2017-04-11 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-7.1: fixed bug #74413 wrong reflection on SQLite3::enableExceptions | ||||
| * | | Merge branch 'PHP-7.0' into PHP-7.1 | Joe Watkins | 2017-04-11 | 1 | -1/+1 |
| |\ \ | | |/ | | | | | | | | | | * PHP-7.0: fixed bug #74413 wrong reflection on SQLite3::enableExceptions | ||||
| | * | fixed bug #74413 wrong reflection on SQLite3::enableExceptions | Joe Watkins | 2017-04-11 | 1 | -1/+1 |
| | | | |||||
| | * | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-04 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'PHP-7.1' | Remi Collet | 2017-03-29 | 1 | -0/+2 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-7.1: Fix buid with system libsqlite, see bug #74217 | ||||
| * | | Fix buid with system libsqlite, see bug #74217 | 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...) | ||||
* | | | Merge branch 'PHP-7.1' | Nikita Popov | 2017-03-12 | 1 | -3/+7 |
|\ \ \ | |/ / | |||||
| * | | 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 |
| | | | |||||
* | | | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-02 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'PHP-7.1' | Christoph M. Becker | 2016-12-29 | 1 | -0/+3 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-7.1: Revert "Fix #73530: Unsetting result set may reset other result set" | ||||
| * | | 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.1' | Christoph M. Becker | 2016-11-16 | 1 | -3/+0 |
|\ \ \ \ | |/ / / | |||||
| * | | | 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. | ||||
* | | | | Fix compiler warnings, always cast to zend_long from sqlite3_int64 when ↵ | Kalle Sommer Nielsen | 2016-10-20 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | converting to a zval | ||||
* | | | | Ignore the return value of sqlite3->busyTimeout() if their "API Armor" is ↵ | Kalle Sommer Nielsen | 2016-10-20 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | not enabled. The sqlite3_busy_timeout() function can only ever return SQLITE_OK if the armor is not compiled in, which means we can skip this error check | ||||
* | | | | Merge branch 'PHP-7.1' | Christoph M. Becker | 2016-10-18 | 1 | -2/+9 |
|\ \ \ \ | |/ / / | |||||
| * | | | 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>. | ||||
* | | | | Fix typo | Christoph M. Becker | 2016-09-02 | 1 | -4/+4 |
|/ / / | |||||
* | | | 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 |