Marcus Boerger
5ec9375760
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.
2002-11-14 14:32:39 +00:00
Marcus Boerger
705a4e251c
-Centralise open stream for builtin modules that use streams
...
-If locks work on database file then only one stream open call is used
2002-11-10 17:58:46 +00:00
Marcus Boerger
95018fc5c0
-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
2002-11-08 01:03:53 +00:00
Marcus Boerger
177b24a44e
Why did open fail?
2002-11-05 14:46:36 +00:00
Marcus Boerger
9d0c4b7bc5
passing around TSRM
...
#going to add CDB_MAKE support
2002-11-04 12:27:13 +00:00
Marcus Boerger
aaf5911b16
cdb now allows multiple key-value pairs with same key
2002-11-03 16:43:07 +00:00
Marcus Boerger
63cffd7eae
Implemented dba_list() that returns an array rsrcid=>filename and a test.
2002-10-25 10:06:35 +00:00
Marcus Boerger
82b96d99f3
implemented dba_handlers()
...
@Added dba_handlers() that lists all installed handlers in an array. (marcus)
2002-10-24 20:43:03 +00:00
foobar
135a1c64c4
Made this extension to use the resource stuff
2002-08-23 22:24:02 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
foobar
442669055b
Another TSRMLS_FETCH() nuke.
2001-08-14 05:44:33 +00:00
Sebastian Bergmann
d926e84e5f
Change copyright note.
2001-06-19 21:25:53 +00:00
Sascha Schumann
e937eeb2e5
Run through conv_z_macros
2000-11-22 21:47:15 +00:00
Sascha Schumann
e8101d4f7b
Unify use of my email address
2000-07-10 10:09:15 +00:00
Sascha Schumann
cd754d7825
Rename macros which begin with underscore to appropiate macros. The general
...
rule is:
macro_name=`echo $filename|tr a-z A-Z|sed 's/\./_/'`
2000-07-03 00:41:19 +00:00
Jouni Ahto
8b8f191e59
# Reverting as requested.
2000-06-27 22:25:27 +00:00
Jouni Ahto
1dfe76f5f6
- dba_[p]open accepts now a new parameter, which kind of database to create
...
(DBA_BTREE or DBA_HASH), if the handler is either 'db2' or 'db3' and
mode 'c' or 'n'. It is ignored if mode is 'c' and the db already exists.
# Asked on the list 4 1/2 hours ago if anyone's got to say something to this,
# no response, so I'm assuming it's ok. And yes, I did test this.
2000-06-27 21:36:26 +00:00
Zeev Suraski
fb1c77bd4f
- Made PHP_VERSION and PHP_OS work again
...
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
1999-12-17 20:55:31 +00:00
Sascha Schumann
5b983c944f
Clean up php3.*\.h files. The files itself are renamed, and references in all
...
.*\.[ch] files were changed. There is a slight chance that my script missed
a few changes, please correct them manually.
1999-12-04 19:19:57 +00:00