From: foobar Date: Mon, 6 Aug 2001 12:15:05 +0000 (+0000) Subject: Another TSRM fix. X-Git-Tag: PRE_ENGINE2_SPLIT~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84042cd9f187e1c74ae1fe941ccd96e3ea77b245;p=php Another TSRM fix. --- diff --git a/ext/dba/dba_db2.c b/ext/dba/dba_db2.c index 3e25fcde52..9de4e54949 100644 --- a/ext/dba/dba_db2.c +++ b/ext/dba/dba_db2.c @@ -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;