History log of /PHP-8.1/ext/dba/dba.c (Results 1 – 25 of 246)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# a442e294 26-Jul-2022 Christoph M. Becker

Fix GH-9155: dba_open("non-existing", "c-", "flatfile") segfaults

We must not assume that the lock file has been opened.

Closes GH-9156.


# 5cf2659f 20-Jun-2022 Yurun

Replace the use of ZVAL_BOOL() with ZVAL_TRUE() or ZVAL_FALSE() where the value is fixed (#8815)


Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1, php-8.1.0, php-7.3.33, php-7.3.32, php-7.3.31, php-7.3.30, php-7.3.29, php-7.3.28, php-7.3.27, php-7.3.26, php-7.3.26RC1, php-7.3.25, php-7.3.25RC1, php-7.3.24, php-7.3.24RC1, php-7.3.23, php-7.3.23RC1, php-7.3.22, php-7.3.22RC1
# 738adce7 07-Aug-2020 George Peter Banyard

Fix [-Wundef] warnings in DBA extension


# d71d0cf0 07-Nov-2021 George Peter Banyard

Use zend_string for DBA first/next key handlers


# 96ff88ec 07-Nov-2021 George Peter Banyard

Use zend_string for DBA delete handler


# cd98e465 07-Nov-2021 George Peter Banyard

Use zend_string for DBA exist handler


# 0eb0f644 07-Nov-2021 George Peter Banyard

Use zend_string for DBA update handler


# f8e15f1e 07-Nov-2021 George Peter Banyard

Use zend_string for DBA fetch handler


# c42336b8 06-Nov-2021 George Peter Banyard

Drop dba_lock.name element

This is unused


# 7db32add 06-Nov-2021 George Peter Banyard

Refactor dba_(p)open() to be more sensible (#7610)

Actually use ZPP
Throw ValueErrors for invalid values
Use dedicated struc members for file permission and map size instead of a zva

Refactor dba_(p)open() to be more sensible (#7610)

Actually use ZPP
Throw ValueErrors for invalid values
Use dedicated struc members for file permission and map size instead of a zval stack

show more ...


# 8db5e708 24-Oct-2021 George Peter Banyard

DBA should not convert elements in-place if the key param is an array

Also check that the value can actually be converted to string


# b50dc1e3 23-Oct-2021 George Peter Banyard

Fix DBA on MacOS (#7611)

The name zend_string* must be copied instead of returned directly in case the group part of the array is empty.


# e56c5060 23-Oct-2021 George Peter Banyard

Refactor DBA

Use proper ZPP union types
Use standard function signature semantics for dba_fetch()
Re-ordering of checks


# e21d02a6 23-Oct-2021 George Peter Banyard

Drop confusing ac local variable for ZEND_NUM_ARGS()


# c6862d0e 23-Oct-2021 George Peter Banyard

Inline DBA_GET2 macro

It was used only twice


# 29ef6523 23-Oct-2021 George Peter Banyard

Inline DBA_ID_PARS macro

It is used only 3 times and provides variable declarations which one shouldn't need to grep to see what is declared


# 84e17d8f 23-Oct-2021 George Peter Banyard

Inline DBA_GET2_3 macro

It is only used once


# b8327cff 23-Oct-2021 George Peter Banyard

Inline DBA_ID_GET2(_3) Macro


# aff36587 29-Jun-2021 Patrick Allaert

Fixed some spaces used instead of tabs


# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...


# 5caaf40b 29-Sep-2020 George Peter Banyard

Introduce pseudo-keyword ZEND_FALLTHROUGH

And use it instead of comments


# f448b0e6 01-Mar-2021 Christoph M. Becker

Fix #80817: dba_popen() may cause segfault during RSHUTDOWN

We need to close persistent streams with the proper flag.


# 3e01f5af 15-Jan-2021 Nikita Popov

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool is retained as an alias.

show more ...


# 422d1665 14-Jan-2021 Nikita Popov

Make convert_to_*_ex simple aliases of convert_to_*

Historically, the _ex variants separated the zval first, if a
conversion was necessary. This distinction no longer makes sense
sin

Make convert_to_*_ex simple aliases of convert_to_*

Historically, the _ex variants separated the zval first, if a
conversion was necessary. This distinction no longer makes sense
since PHP 7.

The only difference that was still left is that _ex checked whether
the type is the same first, but the usage of these macros did not
actually distinguish on whether such an inlined check is valuable
or not in a given context.

Also drop the unused convert_to_explicit_type macros.

show more ...


Revision tags: php-7.3.21, php-7.3.21RC1, php-7.3.20, php-7.3.20RC1, php-7.3.19
# d30cd7d7 26-May-2020 Máté Kocsis

Review the usage of apostrophes in error messages

Closes GH-5590


12345678910