Home
last modified time | relevance | path

Searched refs:zTab (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dexpr.c419 char *zTab = 0; /* Name of the table. The "Y" in X.Y.Z or Y.Z */ in lookupName() local
434 zTab = sqliteStrNDup(pTableToken->z, pTableToken->n); in lookupName()
435 sqliteDequote(zTab); in lookupName()
438 zTab = 0; in lookupName()
445 assert( zTab==0 || pEList==0 ); in lookupName()
455 if( zTab ){ in lookupName()
458 if( sqliteStrICmp(zTabName, zTab)!=0 ) continue; in lookupName()
461 if( zTabName==0 || sqliteStrICmp(zTabName, zTab)!=0 ) continue; in lookupName()
487 if( zDb==0 && zTab!=0 && cnt==0 && pParse->trigStack!=0 ){ in lookupName()
490 if( pTriggerStack->newIdx != -1 && sqliteStrICmp("new", zTab) == 0 ){ in lookupName()
[all …]
H A Ddelete.c28 const char *zTab = pSrc->a[i].zName; in sqliteSrcListLookup() local
30 pTab = sqliteLocateTable(pParse, zTab, zDb); in sqliteSrcListLookup()
H A Dinsert.c95 char *zTab; /* Name of the table into which we are inserting */ in sqliteInsert() local
125 zTab = pTabList->a[0].zName; in sqliteInsert()
126 if( zTab==0 ) goto insert_cleanup; in sqliteInsert()
H A Dtrigger.c440 const char *zTab = SCHEMA_TABLE(pTrigger->iDb); in sqliteDropTriggerPtr() local
443 sqliteAuthCheck(pParse, SQLITE_DELETE, zTab, 0, zDb) ){ in sqliteDropTriggerPtr()
H A Dselect.c742 char *zTab; in generateColumnNames() local
744 zTab = pTabList->a[j].zAlias; in generateColumnNames()
745 if( fullNames || zTab==0 ) zTab = pTab->zName; in generateColumnNames()
746 sqliteSetString(&zName, zTab, ".", zCol, 0); in generateColumnNames()
H A Dbuild.c1190 const char *zTab = SCHEMA_TABLE(pTable->iDb); in sqliteDropTable() local
1192 if( sqliteAuthCheck(pParse, SQLITE_DELETE, zTab, 0, zDb)){ in sqliteDropTable()
1784 const char *zTab = SCHEMA_TABLE(pIndex->iDb); in sqliteDropIndex() local
1785 if( sqliteAuthCheck(pParse, SQLITE_DELETE, zTab, 0, zDb) ){ in sqliteDropIndex()