Browse Source

Another TSRM fix.

migration/unlabaled-1.67.2
foobar 25 years ago
parent
commit
84042cd9f1
  1. 3
      ext/dba/dba_db2.c

3
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;

Loading…
Cancel
Save