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

Revert an earlier change that considered passing a NULL callback to sqlite3_preupdate_hook() to be a misuse. This is required to clear the preupdate hook altogether.

FossilOrigin-Name: 1bf6f0f3bb54933e4e6c730554144934f73a7fac87c97a916b275afd7379f397
This commit is contained in:
dan
2023-10-23 15:24:44 +00:00
parent 8c86f56e90
commit 2db02ec245
3 changed files with 10 additions and 10 deletions

View File

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