1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Correct non-void return from sqlite3_preupdate_hook() when API_ARMOR is enabled. Broken by [6cb77503484e].

FossilOrigin-Name: 40f5906f48d3f1f44d54e5b271fe04e7082166e50e3ed250bb57a4760f112e8a
This commit is contained in:
stephan
2023-10-15 13:25:39 +00:00
parent 6089e5bfcb
commit 29aeb620e7
3 changed files with 8 additions and 9 deletions

View File

@@ -2372,7 +2372,7 @@ void *sqlite3_preupdate_hook(
#ifdef SQLITE_ENABLE_API_ARMOR
if( db==0 || xCallback==0 ){
return;
return 0;
}
#endif
sqlite3_mutex_enter(db->mutex);