History log of /PHP-8.2/ext/dba/dba.c (Results 1 – 25 of 241)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 89216b23 27-Jul-2022 Christoph M. Becker

Merge branch 'PHP-8.1'

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


# cf1664e9 27-Jul-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

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


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

# 04f6fe4b 25-Jul-2022 George Peter Banyard

Ammend DBA error message to use standard messaging

# 3c372901 29-Jun-2022 George Peter Banyard

Add support to pass driver flags to DBA handlers

Currently only LMDB with DBA_LMDB_USE_SUB_DIR/DBA_LMDB_NO_SUB_DIR are supported

# 0887a1d7 29-Jun-2022 George Peter Banyard

Remove personalisation from write on readonly db DBA error message

# 5cf2659f 20-Jun-2022 Yurun

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

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

12345678910