mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
Take advantage of the fact that b-tree cursors need not be closed while other cursors modify their tables to simplify trigger program generation code. (CVS 4654)
FossilOrigin-Name: f1966a8a47fca85f7862c0797a527ab01ac8b0c1
This commit is contained in:
@@ -701,10 +701,12 @@ static char *displayP3(Op *pOp, char *zTemp, int nTemp){
|
||||
}
|
||||
}
|
||||
assert( zP3!=0 );
|
||||
#ifdef SQLITE_DEBUG
|
||||
if( pOp->zComment && zP3==zTemp && (nP3 = strlen(zP3))<nTemp ){
|
||||
sqlite3_snprintf(nTemp-nP3, &zP3[nP3], "%s# %s",
|
||||
nP3>0 ? " " : "", pOp->zComment);
|
||||
}
|
||||
#endif
|
||||
return zP3;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user