mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Fix harmless static-analyzer warnings.
FossilOrigin-Name: 32f33f356931242b59c01b5df7e180941231e3d9c91577ad33aa4a01e9d59092
This commit is contained in:
@@ -5456,7 +5456,7 @@ case OP_Delete: {
|
||||
/* Invoke the update-hook if required. */
|
||||
if( opflags & OPFLAG_NCHANGE ){
|
||||
p->nChange++;
|
||||
if( db->xUpdateCallback && HasRowid(pTab) ){
|
||||
if( db->xUpdateCallback && ALWAYS(pTab!=0) && HasRowid(pTab) ){
|
||||
db->xUpdateCallback(db->pUpdateArg, SQLITE_DELETE, zDb, pTab->zName,
|
||||
pC->movetoTarget);
|
||||
assert( pC->iDb>=0 );
|
||||
|
Reference in New Issue
Block a user