Anatol Belski
16d7fd9d7f
implement support for LMDB in ext/dba
...
don't abort txn if cursor is active
fix typos
2017-05-28 18:33:12 +02:00
Anatol Belski
ea0cbae9f0
Fix test
...
The lock flag is not set to '-' in the test, so there's no such run.
2017-05-27 22:45:58 +02:00
Anatol Belski
36b5ab15f4
Fixed bug #72885 flatfile: dba_fetch() fails to read replaced entry
...
With append mode it is only possible to write to the end of the file. It
is not suitable for drivers like flatfile. Thus, if the file is created,
the stream is closed and is reopened with r+b, otherwise r+ mode is used
right away.
2017-05-27 22:23:02 +02:00
Christoph M. Becker
3f53814ca7
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-25 18:41:45 +02:00
Christoph M. Becker
433976f931
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-25 18:29:23 +02:00
Christoph M. Becker
84512a1177
Fix #70825 : Cannot fetch multiple values with group in ini file
...
If we have the position already from the last fetch, we also have to preset
the current group, because it won't be read again.
2016-08-25 18:18:10 +02:00
Christoph M. Becker
96ea8de591
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-25 16:31:03 +02:00
Christoph M. Becker
5f6a1d1472
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-25 16:22:57 +02:00
Christoph M. Becker
bd8112afe0
Fix #71514 : Bad dba_replace condition because of wrong API usage
...
We're backporting commit 9e309a2d
to PHP-5.6, because it is a bugfix.
2016-08-25 16:20:30 +02:00
Christoph M. Becker
cf40f999ba
Merge branch 'PHP-7.0' into PHP-7.1
2016-08-18 18:03:15 +02:00
Christoph M. Becker
caf0ad403d
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-18 17:56:16 +02:00
Christoph M. Becker
bc1214f25e
Fix broken test include
...
To avoid that the test stalls, we must always use `t` mode.
2016-08-18 17:53:57 +02:00
Dmitry Stogov
818a47c24a
Fixed tests
2016-07-05 11:30:55 +03:00
Xinchen Hui
1a5d58b28f
Fixed bug #72157 (use-after-free caused by dba_open)
2016-05-05 11:12:17 +08:00
Dmitry Stogov
fa348dcdfa
Fixed reference counting
2015-04-08 15:47:31 +03:00
Michael Wallner
5a420c8680
fix bug #62490
...
inifiles delete handler did not return false if the key was not found
2013-12-05 11:04:25 +01:00
Michael Wallner
f0c85fab45
more test fixes
2013-12-03 18:18:40 +01:00
Michael Wallner
b0415856fd
fix test
2013-12-03 17:55:26 +01:00
Michael Wallner
a7f0465c0b
add missing clean section
2013-12-03 17:07:40 +01:00
Michael Wallner
f4912e3a96
remove test for already removed feature
2013-12-03 16:57:35 +01:00
Adam Harvey
a92a350cce
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Copy dba_*() keys before converting to string.
2013-09-22 16:52:41 -07:00
Adam Harvey
30e0442c54
Copy dba_*() keys before converting to string.
...
A nice Sunday afternoon project for somebody would be to refactor the dba
functions to use zend_parse_parameters() reliably and try to untangle some of
the macros in dba.c. Sadly, it is not a nice Sunday afternoon here.
Fixes bug #65708 (dba functions cast $key param to string in-place, bypassing
copy on write).
2013-09-22 16:46:17 -07:00
Veres Lajos
e9a95d78ef
typo fixes
2013-07-15 00:23:03 -07:00
Veres Lajos
72085b0e5f
typo fixes
2013-07-15 00:18:57 -07:00
Felipe Pena
aa31d7e1ef
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- Fixed bug #63409 (php-dba function test fails on big-endian machine) patch by: tianhonglouis at gmail dot com
2013-06-26 13:50:43 -03:00
Felipe Pena
7e33b5d2fa
- Fixed bug #63409 (php-dba function test fails on big-endian machine) patch by: tianhonglouis at gmail dot com
2013-06-26 13:50:37 -03:00
Stanislav Malyshev
02e4d7a290
Merge branch 'pull-request/341'
...
* pull-request/341: (23 commits)
typofixes
2013-06-10 14:30:59 -07:00
Stanislav Malyshev
ac40c0b562
Merge branch 'pull-request/341'
...
* pull-request/341: (23 commits)
typofixes
2013-06-10 14:20:18 -07:00
Lars Strojny
eb40f73ca0
Bug #62489 : dba_insert not working as expected
2013-01-15 09:30:44 +01:00
Xinchen Hui
e081c55fb5
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-10 10:31:31 +08:00
Xinchen Hui
610c7fbe7b
Remove executable permission on phpt
2012-10-10 10:27:49 +08:00
Christopher Jones
83ee110360
Prevent the magic quotes fatal error causing a diff
2011-09-01 19:01:37 +00:00
Kalle Sommer Nielsen
a448b6a72b
MFB53: Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED ( Fixes #52570 )
...
# Some of the updated tests were to make them sync with 5.3 although they don't run on trunk anymore
2010-08-11 21:41:30 +00:00
Kalle Sommer Nielsen
8deefa8780
Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED ( Fixes #52570 )
...
# Trunk patch will follow shortly
2010-08-11 21:12:18 +00:00
Christopher Jones
9ef6a73dee
Add Berkeley DB 5 support. (An outstanding issue with BDB 4.8 related to 51086 that also affects BDB 5 is not yet resolved)
2010-06-03 07:03:05 +00:00
Christopher Jones
e524236afa
Add Berkeley DB 5 support. (An outstanding issue with BDB 4.8 related to 51086 that also affects BDB 5 is not yet resolved)
2010-06-03 07:03:05 +00:00
Michael Maclean
e52fa0027b
Add Tokyo Cabinet abstract DB support to ext/dba
2010-03-24 23:38:59 +00:00
Christopher Jones
ad0e1ae3f1
New tests for existing functionality
2010-03-19 22:15:40 +00:00
Christopher Jones
321ca32642
New and improved DBA tests
2010-03-12 00:27:57 +00:00
Christopher Jones
09df605181
Mask name of older DB4 versions
2010-03-09 18:06:20 +00:00
Christopher Jones
aa60f8e807
Test misc argument error conditions
2010-03-06 00:23:16 +00:00
Christopher Jones
7b329d5afc
DBA tests: cleanup and sycn. Add new Berkeley DB 4 tests
2010-03-05 00:23:26 +00:00
Christopher Jones
40348f1a5b
make portable
2010-03-02 17:00:18 +00:00
William Martin
acc80f0fc3
Added SKIP sections in case extension isn't enabled
2010-03-02 13:21:25 +00:00
Christopher Jones
a3ec3b003d
Improve basic code coverage
2010-03-01 20:33:18 +00:00
Dmitry Stogov
7bfe056174
Fixed tests
2009-09-21 09:52:19 +00:00
Felipe Pena
96d24a59e5
- Fixed paths
2009-08-01 23:26:02 +00:00
Felipe Pena
085067a9aa
- Fixed bug #49125 (Error in dba_exists C code)
...
patch by: jdornan at stanford dot edu
2009-08-01 23:10:11 +00:00
Ilia Alshanetsky
34842709d6
Fixed test
2009-06-16 12:40:59 +00:00
Felipe Pena
539b7a2154
- MFH: Fixed bug #48240 (DBA Segmentation fault dba_nextkey)
2009-05-13 02:14:53 +00:00