History log of /PHP-8.0/ext/dba/dba.c (Results 151 – 175 of 224)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 9b22813c 29-Dec-2002 Marcus Boerger

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 opt

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.

show more ...


Revision tags: php-4.3.0, php-4.3.0RC4
# ddea2a19 21-Dec-2002 Andrei Zmievski

Alias dba_popen() to dba_open() until persistent STDIO streams are
implemented.


# efd314e7 20-Dec-2002 Marcus Boerger

-Fix memory handling of persistent dba connections.
-Update tests.
# cdb and flatfile still FAIL for dba_popen since the known streams problem


# c45f7611 20-Dec-2002 Andrei Zmievski

At least this problem exposed some leaks..


Revision tags: RELEASE_1_0b3, php-4.3.0RC3
# e0c983a0 11-Dec-2002 Marcus Boerger

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)


# a6e9674b 10-Dec-2002 Marcus Boerger

add missing comment


# b94e0d9e 10-Dec-2002 Marcus Boerger

LOCK_EX is not allowed in read mode -> try using existing .lck file in read
only mode only when in read mode.


# 17117063 10-Dec-2002 Marcus Boerger

-remove second attempt to close lock file
-default to lock on db file instead on .lck file.
-try to use existing .lck file and only create it on failure (allows ro access)


# ba534ac7 09-Dec-2002 Marcus Boerger

Added open modifier '-' to skip/ignore locking. See bug #20828, #20858


Revision tags: php-4.3.0RC2
# 579e3ca9 26-Nov-2002 Marcus Boerger

Add Berkeley db4 support


Revision tags: RELEASE_1_0b2
# e7d20a04 22-Nov-2002 Marcus Boerger

Make magic_quotes_runtime work bidirectional for dba


Revision tags: BEFORE_RENAMING
# a14bc768 14-Nov-2002 Marcus Boerger

Add magic_quotes_runtime support


Revision tags: php-4.3.0RC1
# 5ec93757 14-Nov-2002 Marcus Boerger

Fix locking behaviour: On some systems read during write is permitted but
most libraries are not capable of that. GDBM is system dependant so there
we only test that we do not deadlock.


# 759e4b10 11-Nov-2002 Marcus Boerger

Use php_flock instead of flock


# c4e57b18 11-Nov-2002 Marcus Boerger

-fix file open mode when modifier 'd' is used
#Add my name to authors


# b8f3b835 10-Nov-2002 Marcus Boerger

Emit a warning when open mode modifier t is used wrong.


# 705a4e25 10-Nov-2002 Marcus Boerger

-Centralise open stream for builtin modules that use streams
-If locks work on database file then only one stream open call is used


# 224e530e 10-Nov-2002 Marcus Boerger

finish work on locking
-all but gdbm do internal locking now since only gdbm has internal locking
-you can force locking on database or lck file (with gdbm this makes no
sense so a notic

finish work on locking
-all but gdbm do internal locking now since only gdbm has internal locking
-you can force locking on database or lck file (with gdbm this makes no
sense so a notice is generated)

show more ...


# 95018fc5 08-Nov-2002 Marcus Boerger

-lock support moved from dba_flatfile.c to dba.c
-flatfile, cdb, cdb_make use locking now
#locking is blocking per default use 'rt', 'wt', ct' or 'nt' for non blocking alias
#test access

-lock support moved from dba_flatfile.c to dba.c
-flatfile, cdb, cdb_make use locking now
#locking is blocking per default use 'rt', 'wt', ct' or 'nt' for non blocking alias
#test access to a database file.
#locking uses flock() which will be emulated or warned if that is not eally
#possible in ext/standard/flock_compat.c

show more ...


# 3037b35b 06-Nov-2002 Sascha Schumann

emalloc never returns 0, so we can simplify the code paths.
also replace ecalloc with emalloc+memset, so that the latter can be inlined.


# 88af7e98 06-Nov-2002 Marcus Boerger

Use the the name 'flatfile' correctly so the handler support can be built now.
#I do not like the lock solution since a crashed php would leave the *lck
#file locked now.


# 4be50925 06-Nov-2002 Marcus Boerger

move newly introduced flatfile support from dbm to new flatfile handler
# do not make the same mistake as with ext/db where it was not clear
# which format was used.


# 77858f7f 05-Nov-2002 Marcus Boerger

-use of emalloc functions
-info was not initialised fulle due to memset parameters
now that the whole structure is initialised we can stop putting 0 in it.


# 177b24a4 05-Nov-2002 Marcus Boerger

Why did open fail?


# 5be5c7f1 04-Nov-2002 Marcus Boerger

incorporate cdb-0.75 as suggested by D. J. Bernstein
#dba now supports cdb_make


123456789