mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
Abort LMDB transaction whe trying to delete non-existing key
This commit is contained in:
parent
40908b10fc
commit
1d0c287b90
4
NEWS
4
NEWS
@ -2,6 +2,10 @@ PHP NEWS
|
||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||
?? ??? ????, PHP 8.2.0alpha3
|
||||
|
||||
- DBA:
|
||||
. Fixed LMDB driver hanging when attempting to delete a non-existing key
|
||||
(Girgias)
|
||||
|
||||
- Opcache:
|
||||
. Allocate JIT buffer close to PHP .text segemnt to allow using direct
|
||||
IP-relative calls and jumps.
|
||||
|
@ -243,6 +243,7 @@ DBA_DELETE_FUNC(lmdb)
|
||||
|
||||
php_error_docref(NULL, E_WARNING, "%s", mdb_strerror(rc));
|
||||
|
||||
mdb_txn_abort(LMDB_IT(txn));
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user