Lines Matching refs:zSql
176 char *zSql = 0;
190 /* Set zSql to the SQL to pull the list of tables from the
196 zSql = sqlite3_mprintf(
201 zSql = sqlite3_mprintf(
206 if( !zSql ){
211 rc = sqlite3_prepare(pVtab->db, zSql, -1, &pCur->pTableList, 0);
212 sqlite3_free(zSql);
216 /* Set zSql to the SQL to the table_info pragma for the table currently
220 zSql = sqlite3_mprintf("PRAGMA %Q.table_info(%Q)",
225 if( !zSql ){
229 rc = sqlite3_prepare(pVtab->db, zSql, -1, &pCur->pColumnList, 0);
230 sqlite3_free(zSql);