summaryrefslogtreecommitdiff
path: root/ext/sqlite3/sqlite3.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge branch 'PHP-5.6' into PHP-7.0Christoph M. Becker2016-07-251-2/+6
| |\ \ | | |/ | | | | | | | | | | | | # Resolved conflicts: # ext/sqlite3/sqlite3.c # ext/sqlite3/tests/bug72668.phpt
| | * Further fixes wrt. bug #72668Christoph M. Becker2016-07-251-3/+9
| | | | | | | | | | | | | | | Not only SQLite3::querySingle(), but also SQLite3::query() and SQLite3Stmt::execute() were affected.
* | | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2016-07-251-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 Hui2016-07-251-1/+3
| | | | | | | | | | | | function)
* | | Merge branch 'PHP-7.0'Xinchen Hui2016-07-111-1/+3
|\ \ \ | |/ / | | | | | | | | | * PHP-7.0: Fixed bug #72571 (SQLite3::bindValue, SQLite3::bindParam crash)
| * | Fixed bug #72571 (SQLite3::bindValue, SQLite3::bindParam crash)Xinchen Hui2016-07-111-1/+3
| | |
* | | Merge branch 'PHP-7.0'Christoph M. Becker2016-06-271-0/+6
|\ \ \ | |/ /
| * | Merge branch 'PHP-5.6' into PHP-7.0Christoph M. Becker2016-06-271-0/+6
| |\ \ | | |/
| | * Fix #70628: Clearing bindings on an SQLite3 statement doesn't workChristoph M. Becker2016-06-271-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 warningsDmitry Stogov2016-06-221-1/+2
| | |
* | | Removed "zend_fcall_info.function_table". It was assigned in many places, ↵Dmitry Stogov2016-04-271-2/+0
| | | | | | | | | | | | but is never used.
* | | Merge branch 'PHP-7.0'Anatol Belski2016-04-121-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 typeAnatol Belski2016-04-121-0/+30
| | |
* | | Merge branch 'PHP-7.0'Nikita Popov2016-03-031-1/+1
|\ \ \ | |/ /
| * | Move semicolon into TSRMLS_CACHE_EXTERN/DEFINENikita Popov2016-03-031-1/+1
| | | | | | | | | | | | Also re bug #71575.
* | | Removed zend_fcall_info.symbol_tableDmitry Stogov2016-03-021-2/+0
| | |
* | | Merge branch 'PHP-7.0'Nikita Popov2016-02-131-1/+2
|\ \ \ | |/ /
| * | Merge branch 'PHP-5.6' into PHP-7.0Nikita Popov2016-02-131-1/+2
| |\ \ | | |/ | | | | | | | | | Conflicts: ext/sqlite3/sqlite3.c
| | * Check length of string before comparing to :memory:Nikita Popov2016-02-131-1/+2
| | |
* | | Remove version checksNikita Popov2016-01-301-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.0Lior Kaplan2016-01-011-1/+1
|\ \ | |/ | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
* | Fixed Bug #71049 (SQLite3Stmt::execute() releases bound parameter instead ↵Xinchen Hui2015-12-071-2/+1
| | | | | | | | of internal buffer)
* | fix crash in sqlite when executing with bound stream paramAnatol Belski2015-11-051-4/+5
| | | | | | | | rel #70862
* | Fixed Conditional jump or move depends on uninitialised valueXinchen Hui2015-10-141-0/+2
| |
* | Fix a memory leak in sqlite3_do_callback.Adam Harvey2015-09-241-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_UNDEFXinchen Hui2015-09-091-2/+1
| |
* | SQLite3::open/__construct has 2 optional argsRasmus Lerdorf2015-07-071-1/+1
| |
* | Merge branch 'PHP-5.6'Xinchen Hui2015-07-071-2/+10
|\ \ | |/ | | | | | | Conflicts: ext/sqlite3/sqlite3.c
| * Fixed bug #69972 (Use-after-free vulnerability in sqlite3SafetyCheckSickOrOk())Xinchen Hui2015-07-071-2/+10
| |
* | Switch position of ce in exception ce variable namesAaron Piotrowski2015-07-031-8/+8
| |
* | Change zend_exception_get_default() to zend_exception_ceAaron Piotrowski2015-07-031-8/+8
| |
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-24/+24
| | | | | | | | semantick changes).
* | Fixed bug #69897 (segfault when manually constructing SQLite3Result)Kalle Sommer Nielsen2015-06-221-1/+1
| |
* | Fixed access to uninitialized value (in case of exception)Dmitry Stogov2015-04-081-1/+1
| |
* | Always throw TypeException on throwing zpp failuresNikita Popov2015-04-061-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to report FAILURE errors using a TypeException instead of a Warning, like it would happen in strict mode. Adds a zend_parse_parameters_throw() convenience function, which invokes zpp with this flag. Converts all cases I could identify, where we currently have throwing zpp usage in constructors and replaces them with this API. Error handling is still replaced to EH_THROW in some cases to handle other, domain-specific errors in constructors.
* | Merge branch 'PHP-5.6'Stanislav Malyshev2015-04-051-1/+9
|\ \ | |/ | | | | | | | | | | | | * PHP-5.6: Fix bug #66550 (SQLite prepared statement use-after-free) Conflicts: ext/sqlite3/sqlite3.c
| * Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-04-051-0/+16
| |\ | | | | | | | | | | | | * PHP-5.5: Fix bug #66550 (SQLite prepared statement use-after-free)
| | * Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2015-04-051-0/+16
| | |\ | | | | | | | | | | | | | | | | * PHP-5.4: Fix bug #66550 (SQLite prepared statement use-after-free)
| | | * Fix bug #66550 (SQLite prepared statement use-after-free)Stanislav Malyshev2015-04-051-0/+16
| | | |
| | | * Bump yearXinchen Hui2014-01-031-1/+1
| | | |
| | * | Fix #68760: Fix freeing null segfault. Added test for behaviour.Danack2015-03-221-6/+11
| | | |
| | * | Bump yearXinchen Hui2015-01-151-1/+1
| | | |
| * | | Fix #68760: Fix freeing null segfault. Added test for behaviour.Danack2015-03-221-6/+11
| | | |
| * | | bump yearXinchen Hui2015-01-151-1/+1
| | | |
* | | | Merge branch 'pull-request/1091'Stanislav Malyshev2015-03-221-6/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pull-request/1091: Stop trying to call the callback after it has thrown an exception. Also, as an exception has been thrown, there is no need to have a separate error message. Fix freeing null segfault. Added test for behaviour. Conflicts: ext/sqlite3/tests/bug68760.phpt
| * | | | Stop trying to call the callback after it has thrown an exception. Also, as ↵Danack2015-02-161-6/+11
| | | | | | | | | | | | | | | | | | | | an exception has been thrown, there is no need to have a separate error message.
* | | | | made ZEND_TSRMLS_CACHE_* macros look like function callsAnatol Belski2015-02-161-2/+2
|/ / / / | | | | | | | | | | | | which also comply with the current semantics for such macros
* | | | Move zend_object->guards into additional slot of ↵Dmitry Stogov2015-02-041-3/+3
| | | | | | | | | | | | | | | | zend_object->properties_table[]. As result size of objects without __get/__set/__unset/__isset magic methods is reduced.
* | | | bump yearXinchen Hui2015-01-151-1/+1
| | | |