]> granicus.if.org Git - php/commitdiff
Another TSRM fix.
authorfoobar <sniper@php.net>
Mon, 6 Aug 2001 12:15:05 +0000 (12:15 +0000)
committerfoobar <sniper@php.net>
Mon, 6 Aug 2001 12:15:05 +0000 (12:15 +0000)
ext/dba/dba_db2.c

index 3e25fcde52fefd499326b7c354a34ae29716f17a..9de4e54949c0d8268c44e95b9528ff014f386c79 100644 (file)
@@ -47,7 +47,8 @@ DBA_OPEN_FUNC(db2)
        int gmode = 0;
        int filemode = 0644;
        struct stat check_stat;
-
+       TSRMLS_FETCH();
+       
        type =  info->mode == DBA_READER ? DB_UNKNOWN :
                info->mode == DBA_TRUNC ? DB_BTREE :
                VCWD_STAT(info->path, &check_stat) ? DB_BTREE : DB_UNKNOWN;