mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-08 19:00:27 +00:00
Fix mislabeled constant in redbean SQLite code
This commit is contained in:
parent
be3e109309
commit
7148a5d8c6
1 changed files with 1 additions and 1 deletions
|
@ -1218,7 +1218,7 @@ static int db_wal_hook_callback(void *user, sqlite3 *dbh, char const *dbname, in
|
||||||
lua_pushstring(L, dbname); /* hook database name */
|
lua_pushstring(L, dbname); /* hook database name */
|
||||||
lua_pushinteger(L, pnum);
|
lua_pushinteger(L, pnum);
|
||||||
|
|
||||||
if (lua_pcall(L, 3, 0, 0) != SQLITE_OK) return lua_error(L);
|
if (lua_pcall(L, 3, 0, 0) != LUA_OK) return lua_error(L);
|
||||||
|
|
||||||
lua_settop(L, top);
|
lua_settop(L, top);
|
||||||
return SQLITE_OK;
|
return SQLITE_OK;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue