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:
@@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user