Lines Matching defs:pDbname
26 ** The pFilename and pDbname arguments are the tokens that define the
29 void sqliteAttach(Parse *pParse, Token *pFilename, Token *pDbname, Token *pKey){
65 sqliteSetNString(&zName, pDbname->z, pDbname->n, 0);
137 ** The pDbname argument is the name of the database in the DETACH statement.
139 void sqliteDetach(Parse *pParse, Token *pDbname){
152 if( strlen(pDb->zName)!=pDbname->n ) continue;
153 if( sqliteStrNICmp(pDb->zName, pDbname->z, pDbname->n)==0 ) break;
156 sqliteErrorMsg(pParse, "no such database: %T", pDbname);
160 sqliteErrorMsg(pParse, "cannot detach database %T", pDbname);