History log of /PHP-8.3/ext/sqlite3/sqlite3.c (Results 101 – 125 of 326)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 94ec262f 22-Nov-2018 BohwaZ

Fix #77051: Issue with re-binding on SQLite3

We have to call `sqlite3_reset()` before re-binding the parameters.

# 035de21d 29-Nov-2018 Christoph M. Becker

Deny (un)serialization of SQLite3, SQLite3Stmt and SQLite3Result

Serializing `SQLite3`, `SQLite3Stmt` and `SQLite3Result` instances is
possible but pointless, since unserializing results

Deny (un)serialization of SQLite3, SQLite3Stmt and SQLite3Result

Serializing `SQLite3`, `SQLite3Stmt` and `SQLite3Result` instances is
possible but pointless, since unserializing results in uninitialized
instances, which will bail out of any method call. Therefore, we deny
serialization and unserialization in the first place.

show more ...

# 0f7f1498 15-Nov-2018 Dmitry Stogov

Use ZEND_THIS macro to hide implementation details in extensions code.

# c6ad0b92 13-Nov-2018 Dmitry Stogov

Replace getThis() by EX(This), when additional check is not necessary.

# 86c6b3bd 11-Nov-2018 Christoph M. Becker

Support SQLite3 @name notation

Besides the common `:param` notation to designate named parameters in
prepared statements, SQLite3 also supports `@param` and `$param`.
While the latte

Support SQLite3 @name notation

Besides the common `:param` notation to designate named parameters in
prepared statements, SQLite3 also supports `@param` and `$param`.
While the latter is mostly to support the Tcl programming language, and
would be confusing for PHP's sqlite3 binding due to the similarity with
string interpolation, the former is common under .NET and raises no
such issue. Therefore we add support for it.

This patch has been developed in cooperation with @BohwaZ.

show more ...

# b7b3a65e 07-Nov-2018 Christoph M. Becker

Avoid needless string duplication

Cf. <https://github.com/php/php-src/pull/3636#issuecomment-436638833>.

# 87392eff 13-Oct-2018 Christoph M. Becker

Require SQLite ≥ 3.5.0 for ext/sqlite3 and ext/pdo_sqlite

It is possible to pass flags when opening an SQLite database. For
Sqlite < 3.5.0 these are ignored, since `sqlite3_open` doesn'

Require SQLite ≥ 3.5.0 for ext/sqlite3 and ext/pdo_sqlite

It is possible to pass flags when opening an SQLite database. For
Sqlite < 3.5.0 these are ignored, since `sqlite3_open` doesn't support
flags. Neither a warning or notice is raised in this case, nor is this
behavior documented in the PHP manual. Instead of fixing it either
way, we lift the requirement to SQLite 3.5.0 (released on 2007-09-04)
instead of the former SQLite 3.3.9 (released on 2007-01-04).

show more ...

Revision tags: php-7.1.23, php-7.2.11, php-7.3.0RC3, php-7.1.23RC1, php-7.2.11RC1, php-7.3.0RC2, php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32
# 8939c4d9 05-Sep-2018 Dmitry Stogov

Get rid of ZEND_ACC_CTOR, ZEND_ACC_DTOR and ZEND_ACC_IMPLEMENTED_ABSTRACT

Revision tags: php-7.1.22RC1, php-7.3.0beta3, php-7.2.10RC1, php-7.1.21, php-7.2.9, php-7.3.0beta2, php-7.1.21RC1, php-7.3.0beta1, php-7.2.9RC1
# d035bc2b 26-Jul-2018 Christoph M. Becker

Merge branch 'PHP-7.2'

* PHP-7.2:
Fix #76665: SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't juggle


# ce66492a 26-Jul-2018 Christoph M. Becker

Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
Fix #76665: SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't juggle


# ed7e3bc7 26-Jul-2018 Christoph M. Becker

Fix #76665: SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't juggle

We need to ensure that a zval IS_DOUBLE before we access it as such.
In this case we apply common type juggling to

Fix #76665: SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't juggle

We need to ensure that a zval IS_DOUBLE before we access it as such.
In this case we apply common type juggling to do so.

show more ...

Revision tags: php-5.6.37, php-7.1.20, php-7.3.0alpha4, php-7.0.31, php-7.2.8, php-7.1.20RC1, php-7.2.8RC1, php-7.3.0alpha3
# 8d3f8ca1 03-Jul-2018 Peter Kokot

Remove unused Git attributes ident

The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
use

Remove unused Git attributes ident

The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.

show more ...

# b6cc4d20 05-Jul-2018 Dmitry Stogov

Use zval_ptr_dtor() instead of zval_dtor() in internal functions that destroy new created object (This is safer and produces less code)

# 29000091 30-Jun-2018 Peter Kokot

Remove sqlite and xmlrpc extension versions from phpinfo output

The rest of the core extensions don't display the extension versions in
the phpinfo output since they in most cases match

Remove sqlite and xmlrpc extension versions from phpinfo output

The rest of the core extensions don't display the extension versions in
the phpinfo output since they in most cases match the PHP release version.

show more ...

# f2c4f06f 25-Jun-2018 Nikita Popov

Remove unnecessary uses of z/ parameters

Revision tags: php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1
# f2b4ec4b 31-May-2018 Dmitry Stogov

Export standard object handlers, to avoid indirect access

# 5eb1f92f 28-May-2018 Dmitry Stogov

Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.

Revision tags: php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1, php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1, php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16, php-7.1.16RC1, php-7.2.4RC1, php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28
# 701437a9 25-Feb-2018 Gabriel Caruso

Remove return types from some magic method in protos

__construct, __destruct, __wakeup does not have return types defined.

Revision tags: php-7.2.3RC1, php-7.1.15RC1, php-7.1.14, php-7.2.2
# d8f91612 19-Jan-2018 Dmitry Stogov

Usee reference-counting instead of duplication

Revision tags: php-7.1.14RC1, php-7.2.2RC1
# 88b8cd73 07-Jan-2018 Xinchen Hui

Use stack allocated zvals

Revision tags: php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27
# a6519d05 02-Jan-2018 Xinchen Hui

year++

# 7a7ec01a 02-Jan-2018 Xinchen Hui

year++

# ccd4716e 02-Jan-2018 Xinchen Hui

year++

# 83e495e0 14-Dec-2017 Dmitry Stogov

Move constants into read-only data segment

# 9e709e2f 14-Dec-2017 Dmitry Stogov

Move constants into read-only data segment

12345678910>>...14