forked from mirror/go-sqlcipher
commit
6de94b0b99
|
@ -219350,7 +219350,7 @@ int sqlite3_user_authenticate(
|
||||||
db->auth.nAuthPW = nPW;
|
db->auth.nAuthPW = nPW;
|
||||||
rc = sqlite3UserAuthCheckLogin(db, "main", &authLevel);
|
rc = sqlite3UserAuthCheckLogin(db, "main", &authLevel);
|
||||||
db->auth.authLevel = authLevel;
|
db->auth.authLevel = authLevel;
|
||||||
sqlite3ExpirePreparedStatements(db);
|
sqlite3ExpirePreparedStatements(db, 0);
|
||||||
if( rc ){
|
if( rc ){
|
||||||
return rc; /* OOM error, I/O error, etc. */
|
return rc; /* OOM error, I/O error, etc. */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue