1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Modify the trace callback mechanism so that SQL commands executed from within virtual table or user function callbacks are passed to the trace callback without parameter expansion and enclosed in SQL comments.

FossilOrigin-Name: a764915b87564fa91ee68e9b1f41394ce0f1fc7e
This commit is contained in:
dan
2011-01-22 13:32:29 +00:00
parent a9ef7097c7
commit 27381bd519
7 changed files with 234 additions and 66 deletions

View File

@@ -410,7 +410,9 @@ static int sqlite3Step(Vdbe *p){
}else
#endif /* SQLITE_OMIT_EXPLAIN */
{
db->vdbeExecCnt++;
rc = sqlite3VdbeExec(p);
db->vdbeExecCnt--;
}
#ifndef SQLITE_OMIT_TRACE