Lines Matching refs:zCmd
177 char *zCmd = 0; in tclConnect() local
186 zCmd = sqlite3_malloc64(strlen(argv[3])+1); in tclConnect()
188 if( zCmd && pTab ){ in tclConnect()
189 memcpy(zCmd, argv[3], strlen(argv[3])+1); in tclConnect()
190 tclDequote(zCmd); in tclConnect()
193 pTab->pCmd = Tcl_NewStringObj(zCmd, -1); in tclConnect()
218 sqlite3_free(zCmd); in tclConnect()
347 const char *zCmd = Tcl_GetString(apElem[ii]); in tclFilter() local
349 if( sqlite3_stricmp("sql", zCmd)==0 ){ in tclFilter()
358 pTab->base.zErrMsg = sqlite3_mprintf("unexpected: %s", zCmd); in tclFilter()
645 const char *zCmd = Tcl_GetString(apElem[ii]); in tclBestIndex() local
647 if( sqlite3_stricmp("cost", zCmd)==0 ){ in tclBestIndex()
650 if( sqlite3_stricmp("orderby", zCmd)==0 ){ in tclBestIndex()
653 if( sqlite3_stricmp("idxnum", zCmd)==0 ){ in tclBestIndex()
656 if( sqlite3_stricmp("idxstr", zCmd)==0 ){ in tclBestIndex()
661 if( sqlite3_stricmp("rows", zCmd)==0 ){ in tclBestIndex()
666 if( sqlite3_stricmp("use", zCmd)==0 in tclBestIndex()
667 || sqlite3_stricmp("omit", zCmd)==0 in tclBestIndex()
676 int bOmit = (zCmd[0]=='o' || zCmd[0]=='O'); in tclBestIndex()
683 pTab->base.zErrMsg = sqlite3_mprintf("unexpected: %s", zCmd); in tclBestIndex()