History log of /PHP-8.2/ext/dba/dba.c (Results 1 – 25 of 254)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 134441ef 01-Jul-2023 Máté Kocsis

Deprecate calling dba_fetch() with $dba at the 3rd parameter


# 421c56dd 08-Apr-2023 George Peter Banyard

Use zend_string for DBA path (#10698)


# 1287747a 21-Feb-2023 Max Kellermann

ext: make various internal functions static (#10650)

Namely in:
* ext/date
* ext/libxml
* ext/dba
* ext/curl


# 263b22f3 21-Feb-2023 Max Kellermann

Make lots of string pointers `const` (#10646)

This allows using string literals without implicitly casting away the
`const`.


# d3facbe2 23-Jan-2023 Max Kellermann

Mark globals as const (#10303)

This moves them from ``.data`` to ``.rodata`` and allows more compiler optimizations.

* ext/opcache/zend_accelerator_hash: make prime_numbers const

Mark globals as const (#10303)

This moves them from ``.data`` to ``.rodata`` and allows more compiler optimizations.

* ext/opcache/zend_accelerator_hash: make prime_numbers const

* Zend/zend_signal: make zend_sigs const

* ext/dba: make dba_handler pointers const

* ext/exif: make php_tiff_bytes_per_format and other globals const

* ext/intl/grapheme: make grapheme_extract_iters const

* ext/mstring: make rare_codepoint_bitvec const

* ext/snmp: make objid_mib const

* ext/opcache: make all zend_shared_memory_handlers const

show more ...


# 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


1234567891011