Skip to content

Commit 1ed1501

Browse files
author
Sascha Schumann
committed
Please test patches which are merged into the release branch.
db2 has a standard UNIX API which in turn means that it returns non-zero in error conditions.
1 parent 48b7051 commit 1ed1501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/dba/dba_db2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ DBA_OPEN_FUNC(db2)
6767
filemode = Z_LVAL_PP(info->argv[0]);
6868
}
6969

70-
if(!db_open(info->path, type, gmode, filemode, NULL, NULL, &dbp)) {
70+
if(db_open(info->path, type, gmode, filemode, NULL, NULL, &dbp)) {
7171
info->dbf = malloc(sizeof(dba_db2_data));
7272
memset(info->dbf, 0, sizeof(dba_db2_data));
7373
((dba_db2_data *) info->dbf)->dbp = dbp;

0 commit comments

Comments
 (0)