Skip to content

Commit 808aeb4

Browse files
committed
oops, commit pendingVersion to dbVersion
1 parent efc67a4 commit 808aeb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/crsqlite.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ static void crsqlRowsImpacted(sqlite3_context *context, int argc,
339339
static int commitHook(void *pUserData) {
340340
crsql_ExtData *pExtData = (crsql_ExtData *)pUserData;
341341

342+
pExtData->dbVersion = pExtData->pendingDbVersion;
342343
pExtData->pendingDbVersion = -1;
343344
pExtData->seq = 0;
344345
return SQLITE_OK;

0 commit comments

Comments
 (0)