1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Change sqlite3ApiExit() so that its first argument is never NULL.

FossilOrigin-Name: 791b706ec6c3e80885666e48e01524f0e9a7557e
This commit is contained in:
drh
2015-06-30 03:13:47 +00:00
parent 27fb746cde
commit 597d2b6412
5 changed files with 18 additions and 19 deletions

View File

@@ -2928,7 +2928,7 @@ opendb_out:
sqlite3GlobalConfig.xSqllog(pArg, db, zFilename, 0);
}
#endif
return sqlite3ApiExit(0, rc);
return rc & 0xff;
}
/*
@@ -2986,7 +2986,7 @@ int sqlite3_open16(
}
sqlite3ValueFree(pVal);
return sqlite3ApiExit(0, rc);
return rc & 0xff;
}
#endif /* SQLITE_OMIT_UTF16 */