Lines Matching refs:zCostTable
1919 char *zCostTable; /* Table holding edit-distance cost numbers */ member
1989 sqlite3_free(p->zCostTable); in spellfix1Uninit()
2111 if( strncmp(argv[i],"edit_cost_table=",16)==0 && pNew->zCostTable==0 ){ in spellfix1Init()
2112 pNew->zCostTable = spellfix1Dequote(&argv[i][16]); in spellfix1Init()
2113 if( pNew->zCostTable==0 ) rc = SQLITE_NOMEM; in spellfix1Init()
2547 if( p->zCostTable!=0 && p->pConfig3==0 ){ in spellfix1FilterForMatch()
2551 rc = editDist3ConfigLoad(p->pConfig3, p->db, p->zCostTable); in spellfix1FilterForMatch()
2901 sqlite3_free(p->zCostTable); in spellfix1Update()
2902 p->zCostTable = spellfix1Dequote(zCmd+16); in spellfix1Update()
2903 if( p->zCostTable==0 ) return SQLITE_NOMEM; in spellfix1Update()
2904 if( p->zCostTable[0]==0 || sqlite3_stricmp(p->zCostTable,"null")==0 ){ in spellfix1Update()
2905 sqlite3_free(p->zCostTable); in spellfix1Update()
2906 p->zCostTable = 0; in spellfix1Update()