MCPcopy Index your code
hub / github.com/sql-js/sql.js / _sqlite3WalDefaultHook

Function _sqlite3WalDefaultHook

js/sql-debug.js:245128–245142  ·  view source on GitHub ↗
($0,$1,$2,$3)

Source from the content-addressed store, hash-verified

245126 return ($$0|0);
245127}
245128function _sqlite3WalDefaultHook($0,$1,$2,$3) {
245129 $0 = $0|0;
245130 $1 = $1|0;
245131 $2 = $2|0;
245132 $3 = $3|0;
245133 var $4 = 0, $5 = 0, label = 0, sp = 0;
245134 sp = STACKTOP;
245135 $4 = $0;
245136 $5 = ($4|0)>($3|0);
245137 if ($5) {
245138 return 0;
245139 }
245140 (_sqlite3_wal_checkpoint_v2($1,$2,0,0,0)|0);
245141 return 0;
245142}
245143function _sqliteDefaultBusyCallback($0,$1) {
245144 $0 = $0|0;
245145 $1 = $1|0;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…