mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Improve the treeview output for CteUse objects.
FossilOrigin-Name: 2b16d6947ca4a102ddab4d5ba3e340a75e1e5c28e45e874ee5ff52f9b5fb964f
This commit is contained in:
@ -215,7 +215,10 @@ void sqlite3TreeViewSrcList(TreeView *pView, const SrcList *pSrc){
|
||||
sqlite3_str_appendf(&x, " DDL");
|
||||
}
|
||||
if( pItem->fg.isCte ){
|
||||
sqlite3_str_appendf(&x, " CteUse=0x%p", pItem->u2.pCteUse);
|
||||
static const char *aMat[] = {",MAT", "", ",NO-MAT"};
|
||||
sqlite3_str_appendf(&x, " CteUse=%d%s",
|
||||
pItem->u2.pCteUse->nUse,
|
||||
aMat[pItem->u2.pCteUse->eM10d]);
|
||||
}
|
||||
if( pItem->fg.isOn || (pItem->fg.isUsing==0 && pItem->u3.pOn!=0) ){
|
||||
sqlite3_str_appendf(&x, " isOn");
|
||||
|
Reference in New Issue
Block a user