Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Hannes Magnusson
050f94f746
MFH: Fix double "wron param count" messages
2006-11-03 14:46:48 +00:00
Ilia Alshanetsky
89635eb158
E_ERROR > E_RECOVERABLE_ERROR
2006-07-06 23:13:18 +00:00
Dmitry Stogov
1dbaae2795
Added automatic module globals management
2006-06-15 18:33:09 +00:00
Hannes Magnusson
3104233019
MFH: arginfo, protos, vim folding
2006-06-11 01:42:17 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Marcus Boerger
25de19a2fb
- MFH Change dba/db4 to use its own locking
2005-12-08 19:35:05 +00:00
foobar
3e669bc950
MFH: nuke php3 legacy
2005-12-06 02:28:41 +00:00
foobar
f20a62b164
MFH:- Do not use the PHP3 era names
2005-12-05 22:43:14 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Marcus Boerger
9ffeb12c4c
- Add support for db1 through emulation
...
# Most probably db4 requires a slightly different detection since functions
# are macros which most probably doesn't work with current configure check.
2005-02-25 23:51:53 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Marcus Boerger
c69fb4133d
dded qdbm handler ( http://qdbm.sourceforge.net ).
2003-12-18 20:25:21 +00:00
Marcus Boerger
0283b50316
Centralize ability to drop APPEND flag. This probably fixes some ini file
...
issues.
2003-12-18 20:14:15 +00:00
Marcus Boerger
43d06f50e0
- Fix Bug #26304 Unexpected data loss when opening dba file
...
- Correct handling for flatfile handler
2003-12-14 22:08:18 +00:00
Marcus Boerger
70ca95aa0e
Revert: need a PHP4.3 solution.
...
# This solution cannot be backported to PHP 4.3 -- damn!
2003-12-13 15:00:04 +00:00
Marcus Boerger
d1a6deb785
- Fixed bug #26304 (Unexpected data loss when opening dba file).
2003-12-13 14:50:06 +00:00
Marcus Boerger
2bed6c2b8a
Proto fixes (Friedhelm Betz <holliwell|gmx.net>)
2003-11-13 19:08:41 +00:00
Marcus Boerger
4d752bd78e
Pass eof
2003-11-13 07:53:15 +00:00
Marcus Boerger
daaef88047
Add helper function that splits inifile keys into an array which again
...
can be used in dba_fetch calls.
2003-11-12 21:43:03 +00:00
Ilia Alshanetsky
4f2e9bbc45
Fixed format error.
2003-08-28 17:56:41 +00:00
Marcus Boerger
ddf4ad5744
Fix warning
2003-08-17 17:14:11 +00:00
Ilia Alshanetsky
4d98e9ec97
Finalize the closing process of persistent streams. The current
...
behavior/API is as follows:
1) To close a persistent use php_stream_pclose(), it will close the stream
and remove it from the persistent list.
2) Inside PHP code only explicit fclose() will close persistent streams,
all other actions such as unset() or assigning a value to stream handle
will not.
3) Regular streams can still be closed by either fclose(), unset() or an
assignment of a value to the stream handler.
2003-07-29 18:26:34 +00:00
Marcus Boerger
7f1cf60331
Remove bogus comment (noticed by Zak)
2003-07-16 22:55:02 +00:00
Marcus Boerger
a332df50fb
Don't copy the filename when it is not needed
2003-06-21 18:43:25 +00:00
Marcus Boerger
7eb9fc251a
Store the absolute path of the database file and use that in the external library
2003-06-21 18:17:20 +00:00
Edin Kadribasic
5a3c09c440
Fixed win32 build
2003-06-16 09:11:31 +00:00
Andrey Hristov
ab5b9b91d3
proto fixes
2003-06-13 14:59:01 +00:00
Marcus Boerger
48cc4a7be6
Bugfix #2397 : dba_open locking error with db3
2003-06-12 19:53:40 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Marcus Boerger
1778caad0c
Fix protos
2003-05-19 22:52:27 +00:00
Marcus Boerger
8a5ba51ac8
MFB: safe_emalloc()
2003-04-24 20:54:43 +00:00
Marcus Boerger
268ffda27d
Reenable dba_popen()
2003-04-13 19:50:28 +00:00
Marcus Boerger
f14a65c7b9
CS
2003-03-20 19:54:22 +00:00
Marcus Boerger
f5a7a1c094
Use stream locking support
...
# needs more testing
2003-03-04 23:45:48 +00:00
Marcus Boerger
238abf8c7f
fix dba by fixing key_len retrieval
2003-03-04 19:56:35 +00:00
Marcus Boerger
d737741329
allow keys as array(group, name) for handler inifile
2003-02-26 22:07:50 +00:00
Marcus Boerger
8ab1924ca3
@Added dba handler inifiles to support ini files. (Marcus)
2003-02-22 17:20:06 +00:00
Marcus Boerger
037986db20
Fix proto
2003-01-31 19:12:23 +00:00
Ilia Alshanetsky
a7b91019e9
Removed pointless memory allocation checks.
2003-01-18 19:49:28 +00:00
Edin Kadribasic
59b37a5ce4
Fixed win32 build.
2003-01-06 01:08:59 +00:00
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
Marcus Boerger
4d2f7207c0
Add info function to handlers and return handler info when dba_handlers is
...
called with optional parameter full_info set true.
2002-12-30 13:07:30 +00:00
Marcus Boerger
a213c71735
2nd part of the patch
2002-12-30 11:43:18 +00:00
Marcus Boerger
4b9e8fc899
-better parameter names for DBA_HND macros
...
-remove unnecessary notice
2002-12-30 11:32:37 +00:00
Marcus Boerger
9b22813c4d
Add a default handler that makes handler parameter to open functions
...
optional.
@Improved dba extension (Marcus)
@-Made handler parameter of dba_(p)open() optional.
@-Added php.ini option 'dba.default_handler' to specify a default handler.
2002-12-29 15:31:00 +00:00
Andrei Zmievski
ddea2a190f
Alias dba_popen() to dba_open() until persistent STDIO streams are
...
implemented.
2002-12-21 01:09:27 +00:00
Marcus Boerger
efd314e767
-Fix memory handling of persistent dba connections.
...
-Update tests.
# cdb and flatfile still FAIL for dba_popen since the known streams problem
2002-12-20 17:47:58 +00:00
Andrei Zmievski
c45f76112f
At least this problem exposed some leaks..
2002-12-20 16:45:34 +00:00
Marcus Boerger
e0c983a013
Warnings and Notices when lock modifiers for dba_(p)open are used wrong.
...
This finally closes bug #20828 (and i hope it must not be reopened)
2002-12-11 10:37:38 +00:00