mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Fix a false-positive in the debugging logic that attempts to detect the
use of uninitialized registers inside triggers. Ticket [c4c56482ced89d90] FossilOrigin-Name: 0463576b5de0a1ee71530f0e4988fc9cceda79148520bea2c67f1fbc4a99cea9
This commit is contained in:
@@ -6476,7 +6476,7 @@ case OP_Program: { /* jump */
|
||||
int i;
|
||||
for(i=0; i<p->nMem; i++){
|
||||
aMem[i].pScopyFrom = 0; /* Prevent false-positive AboutToChange() errs */
|
||||
aMem[i].flags |= MEM_Undefined; /* Cause a fault if this reg is reused */
|
||||
MemSetTypeFlag(&aMem[i], MEM_Undefined); /* Fault if this reg is reused */
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user