Lines Matching defs:zName
57 char *zName = 0; /* Name of the trigger */
84 "database %s", db->aDb[tab->iDb].zName);
88 zName = sqliteStrNDup(pName->z, pName->n);
89 sqliteDequote(zName);
90 if( sqliteHashFind(&(db->aDb[iDb].trigHash), zName,pName->n+1) ){
94 if( sqliteStrNICmp(tab->zName, "sqlite_", 7)==0 ){
112 const char *zDb = db->aDb[tab->iDb].zName;
113 const char *zDbTrig = isTemp ? db->aDb[1].zName : zDb;
115 if( sqliteAuthCheck(pParse, code, zName, tab->zName, zDbTrig) ){
136 nt->name = zName;
137 zName = 0;
138 nt->table = sqliteStrDup(pTableName->a[0].zName);
152 sqliteFree(zName);
221 pTab = sqliteLocateTable(pParse, nt->table, db->aDb[nt->iTabDb].zName);
395 const char *zName;
402 zName = pName->a[0].zName;
403 nName = strlen(zName);
406 if( zDb && sqliteStrICmp(db->aDb[j].zName, zDb) ) continue;
407 pTrigger = sqliteHashFind(&(db->aDb[j].trigHash), zName, nName+1);
433 "auxiliary database %s", db->aDb[pTrigger->iDb].zName);
436 pTable = sqliteFindTable(db, pTrigger->table,db->aDb[pTrigger->iTabDb].zName);
442 const char *zDb = db->aDb[pTrigger->iDb].zName;
445 if( sqliteAuthCheck(pParse, code, pTrigger->name, pTable->zName, zDb) ||
483 const char *zName = pTrigger->name;
484 int nName = strlen(zName);
498 sqliteHashInsert(&(db->aDb[pTrigger->iDb].trigHash), zName, nName+1, 0);
516 if( sqliteIdListIndex(pIdList, pEList->a[e].zName)>=0 ) return 1;
590 sDb.z = pParse->db->aDb[iDb].zName;