Lines Matching refs:err

70   Error err = {0};  in checkpoint_starvation_reader()  local
73 opendb(&err, &db, "test.db", 0); in checkpoint_starvation_reader()
74 while( !timetostop(&err) ){ in checkpoint_starvation_reader()
76 sql_script(&err, &db, "BEGIN"); in checkpoint_starvation_reader()
77 iCount1 = execsql_i64(&err, &db, "SELECT count(x) FROM t1"); in checkpoint_starvation_reader()
79 iCount2 = execsql_i64(&err, &db, "SELECT count(x) FROM t1"); in checkpoint_starvation_reader()
80 sql_script(&err, &db, "COMMIT"); in checkpoint_starvation_reader()
83 test_error(&err, "Isolation failure - %lld %lld", iCount1, iCount2); in checkpoint_starvation_reader()
86 closedb(&err, &db); in checkpoint_starvation_reader()
88 print_and_free_err(&err); in checkpoint_starvation_reader()
93 Error err = {0}; in checkpoint_starvation_main() local
99 opendb(&err, &db, "test.db", 1); in checkpoint_starvation_main()
100 sql_script(&err, &db, in checkpoint_starvation_main()
106 setstoptime(&err, nMs); in checkpoint_starvation_main()
109 launch_thread(&err, &threads, checkpoint_starvation_reader, 0); in checkpoint_starvation_main()
114 while( !timetostop(&err) ){ in checkpoint_starvation_main()
115 sql_script(&err, &db, "INSERT INTO t1 VALUES(randomblob(1200))"); in checkpoint_starvation_main()
125 join_all_threads(&err, &threads); in checkpoint_starvation_main()
126 closedb(&err, &db); in checkpoint_starvation_main()
127 print_and_free_err(&err); in checkpoint_starvation_main()
131 Error err = {0}; in checkpoint_starvation_1() local
135 test_error(&err, "WAL failed to grow - %d frames", ctx.nMaxFrame); in checkpoint_starvation_1()
137 print_and_free_err(&err); in checkpoint_starvation_1()
141 Error err = {0}; in checkpoint_starvation_2() local
145 test_error(&err, "WAL grew too large - %d frames", ctx.nMaxFrame); in checkpoint_starvation_2()
147 print_and_free_err(&err); in checkpoint_starvation_2()