History log of /PHP-7.2/ext/sqlite3/sqlite3.c (Results 26 – 50 of 173)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1, php-7.1.0beta3, php-5.6.25, php-7.0.10, php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1
# cc125f27 27-Jul-2016 Christoph M. Becker

Implement #72653: SQLite should allow opening with empty filename

From the [sqlite3_open](https://www.sqlite.org/c3ref/open.html) docs:

| If the filename is an empty string, then a

Implement #72653: SQLite should allow opening with empty filename

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.

show more ...


# 64e3e932 25-Jul-2016 Christoph M. Becker

Further fixes wrt. bug #72668

Not only SQLite3::querySingle(), but also SQLite3::query() and
SQLite3Stmt::execute() were affected.


# f5e56cf9 25-Jul-2016 Xinchen Hui

Fixed bug #72668 (Spurious warning when exception is thrown in user defined function)


Revision tags: php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38
# a19655cf 11-Jul-2016 Xinchen Hui

Fixed bug #72571 (SQLite3::bindValue, SQLite3::bindParam crash)


Revision tags: php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1
# 57940605 27-Jun-2016 Christoph M. Becker

Fix #70628: Clearing bindings on an SQLite3 statement doesn't work

Obiously, it isn't sufficient to call sqlite3_clear_bindings() alone, but
also the bound_params of the php_sqlite3_stmt

Fix #70628: Clearing bindings on an SQLite3 statement doesn't work

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.

show more ...


Revision tags: php-7.1.0alpha2
# 323b2733 21-Jun-2016 Dmitry Stogov

Fixed compilation warnings


Revision tags: php-7.0.8, php-5.6.23, php-5.5.37, php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1, php-5.6.22, php-5.5.36, php-7.0.7, php-5.6.22RC1, php-7.0.7RC1, php-7.0.6, php-5.6.21, php-5.5.35
# f0a2e8eb 27-Apr-2016 Dmitry Stogov

Removed "zend_fcall_info.function_table". It was assigned in many places, but is never used.


Revision tags: php-5.6.21RC1
# e49580c9 12-Apr-2016 Anatol Belski

Fixed bug #68849 bindValue is not using the right data type


Revision tags: php-7.0.6RC1, php-5.6.20, php-5.5.34, php-7.0.5, php-5.6.20RC1, php-7.0.5RC1
# 1ac15293 03-Mar-2016 Nikita Popov

Move semicolon into TSRMLS_CACHE_EXTERN/DEFINE

Also re bug #71575.


Revision tags: php-5.6.19
# c67c166f 02-Mar-2016 Dmitry Stogov

Removed zend_fcall_info.symbol_table


Revision tags: php-5.5.33, php-7.0.4, php-5.6.19RC1, php-7.0.4RC1
# fece24f8 13-Feb-2016 Nikita Popov

Check length of string before comparing to :memory:


Revision tags: php-5.6.18, php-7.0.3, php-5.5.32
# 93dc91b3 30-Jan-2016 Nikita Popov

Remove version checks

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

Remove version checks

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.

show more ...


Revision tags: php-5.6.18RC1, php-7.0.3RC1, php-5.6.17, php-5.5.31, php-7.0.2
# 49493a2d 01-Jan-2016 Lior Kaplan

Happy new year (Update copyright to 2016)


Revision tags: php-7.0.2RC1, php-5.6.17RC1, php-7.0.1RC1
# 250430ac 07-Dec-2015 Xinchen Hui

Fixed Bug #71049 (SQLite3Stmt::execute() releases bound parameter instead of internal buffer)


Revision tags: php-7.0.0, php-5.6.16, php-7.0.0RC8, php-7.0.0RC7, php-5.6.16RC1
# 5ac288bc 05-Nov-2015 Anatol Belski

fix crash in sqlite when executing with bound stream param

rel #70862


Revision tags: php-5.6.15, php-7.0.0RC6, php-7.0.1, php-5.6.15RC1, php-7.0.0RC5
# 01050935 14-Oct-2015 Xinchen Hui

Fixed Conditional jump or move depends on uninitialised value


Revision tags: php-5.5.30, php-5.6.14, php-7.0.0RC4
# 6413ecb4 24-Sep-2015 Adam Harvey

Fix a memory leak in sqlite3_do_callback.

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).


Revision tags: php-5.6.14RC1, php-7.0.0RC3
# 59e8eae4 09-Sep-2015 Xinchen Hui

Useless ZVAL_UNDEF


Revision tags: php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45, php-5.6.13RC1, php-7.0.0RC1, php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44, php-5.6.12RC1, php-7.0.0beta2, php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43
# 40ca0f19 07-Jul-2015 Rasmus Lerdorf

SQLite3::open/__construct has 2 optional args


# 26471eb6 07-Jul-2015 Xinchen Hui

Fixed bug #69972 (Use-after-free vulnerability in sqlite3SafetyCheckSickOrOk())


# ed1b6487 03-Jul-2015 Aaron Piotrowski

Switch position of ce in exception ce variable names


# a812a74c 03-Jul-2015 Aaron Piotrowski

Change zend_exception_get_default() to zend_exception_ce


# 4a2e40bb 30-Jun-2015 Dmitry Stogov

Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).


Revision tags: php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2
# 0da4c34f 22-Jun-2015 Kalle Sommer Nielsen

Fixed bug #69897 (segfault when manually constructing SQLite3Result)


Revision tags: php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42, POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1, php-5.5.25, php-5.6.9, php-5.4.41, php-5.6.9RC1, php-5.5.25RC1, php-5.6.8, php-5.5.24, php-5.4.40
# 7649a35d 08-Apr-2015 Dmitry Stogov

Fixed access to uninitialized value (in case of exception)


1234567