3.37.0: regenerate all but darwin/arm64, netbsd/amd64 and windows/386

This commit is contained in:
Jan Mercl
2021-11-29 14:56:53 +01:00
parent d4ed92c0a7
commit 12794c24e9
171 changed files with 352338 additions and 308350 deletions

View File

@@ -75,7 +75,7 @@ static char *checkpoint_starvation_reader(int iTid, void *pArg){
i64 iCount1, iCount2;
sql_script(&err, &db, "BEGIN");
iCount1 = execsql_i64(&err, &db, "SELECT count(x) FROM t1");
usleep(CHECKPOINT_STARVATION_READMS*1000);
sqlite3_sleep(CHECKPOINT_STARVATION_READMS);
iCount2 = execsql_i64(&err, &db, "SELECT count(x) FROM t1");
sql_script(&err, &db, "COMMIT");
@@ -107,7 +107,7 @@ static void checkpoint_starvation_main(int nMs, CheckpointStarvationCtx *p){
for(i=0; i<4; i++){
launch_thread(&err, &threads, checkpoint_starvation_reader, 0);
usleep(CHECKPOINT_STARVATION_READMS*1000/4);
sqlite3_sleep(CHECKPOINT_STARVATION_READMS/4);
}
sqlite3_wal_hook(db.db, checkpoint_starvation_walhook, (void *)p);