summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>1999-10-07 14:00:18 +0000
committerAndrei Zmievski <andrei@php.net>1999-10-07 14:00:18 +0000
commitac4a798570ebd0b40ab2226e91de0b0e996f125b (patch)
tree0a6288a650395401003d5e2a4bcd54eb4c679067
parent718351f88264a426a4874f5be71dbbd90f4d42e8 (diff)
downloadphp-git-ac4a798570ebd0b40ab2226e91de0b0e996f125b.tar.gz
Put PLS_FETCH() in the correct place.
-rw-r--r--ext/db/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/db/db.c b/ext/db/db.c
index e5342d44fa..c246d6bf35 100644
--- a/ext/db/db.c
+++ b/ext/db/db.c
@@ -273,7 +273,6 @@ dbm_info *_php3_dbmopen(char *filename, char *mode) {
int ret, lock=0;
char *lockfn = NULL;
int lockfd = 0;
- PLS_FETCH();
#if NFS_HACK
int last_try = 0;
@@ -283,6 +282,7 @@ dbm_info *_php3_dbmopen(char *filename, char *mode) {
DBM_TYPE dbf=NULL;
DBM_MODE_TYPE imode;
+ PLS_FETCH();
if (filename == NULL) {
php_error(E_WARNING, "NULL filename passed to _php3_dbmopen()");