1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-09-02 12:21:26 +03:00

Simplify the EXPLAIN output of virtual table P4 parameters to only show the

pointer to the sqlite3_vtab object and omit the sqlite3_module object.

FossilOrigin-Name: 85610bbbc60cb4a6ec856123447fdb2ba948e52f
This commit is contained in:
drh
2015-03-24 14:57:02 +00:00
parent f496a7dc81
commit 466fd815fb
3 changed files with 8 additions and 9 deletions

View File

@@ -1118,8 +1118,7 @@ static char *displayP4(Op *pOp, char *zTemp, int nTemp){
#ifndef SQLITE_OMIT_VIRTUALTABLE
case P4_VTAB: {
sqlite3_vtab *pVtab = pOp->p4.pVtab->pVtab;
sqlite3_snprintf(nTemp, zTemp, "vtab:%p:%p",
pVtab, pVtab ? pVtab->pModule : (sqlite3_module*)0);
sqlite3_snprintf(nTemp, zTemp, "vtab:%p", pVtab);
break;
}
#endif