aboutsummaryrefslogtreecommitdiff
path: root/ext/userauth/userauth.c
diff options
context:
space:
mode:
authordan <dan@noemail.net>2020-01-21 13:40:35 +0000
committerdan <dan@noemail.net>2020-01-21 13:40:35 +0000
commit39ef8b31fb042db26736ca4704486d8da02909f0 (patch)
tree7026c0bb60b946609749af36c9ce2f509bac9c98 /ext/userauth/userauth.c
parent988af251d86f57e57b77f0bf3e651bab2ff9f343 (diff)
downloadsqlite-39ef8b31fb042db26736ca4704486d8da02909f0.tar.gz
sqlite-39ef8b31fb042db26736ca4704486d8da02909f0.zip
Fix a problem in the userauth extension causing it to occasionally set "PRAGMA count_changes" (and some others) to true.
FossilOrigin-Name: 3a62f64222ebd176c06e89b9fe5275b7b1f09df0afbae1c5c148a4e527e9d80b
Diffstat (limited to 'ext/userauth/userauth.c')
-rw-r--r--ext/userauth/userauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/userauth/userauth.c b/ext/userauth/userauth.c
index a8ed01ae4..fa708516e 100644
--- a/ext/userauth/userauth.c
+++ b/ext/userauth/userauth.c
@@ -40,7 +40,7 @@ static sqlite3_stmt *sqlite3UserAuthPrepare(
char *zSql;
int rc;
va_list ap;
- int savedFlags = db->flags;
+ u64 savedFlags = db->flags;
va_start(ap, zFormat);
zSql = sqlite3_vmprintf(zFormat, ap);