Lines Matching defs:azCol
16566 char **azCol, /* Column names */
16582 int len = strlen30(azCol[i] ? azCol[i] : "");
16587 utf8_printf(p->out,"%*s = %s%s", w, azCol[i],
16600 utf8_width_print(p->out, w, azCol[i]);
16700 utf8_printf(p->out,"%s%s",azCol[i],
16722 output_html_string(p->out, azCol[i]);
16740 output_c_string(p->out,azCol[i] ? azCol[i] : "");
16757 output_csv(p, azCol[i] ? azCol[i] : "", i<nArg-1);
16777 if( quoteChar(azCol[i]) ){
16778 char *z = sqlite3_mprintf("\"%w\"", azCol[i]);
16783 raw_printf(p->out, "%s", azCol[i]);
16843 output_json_string(p->out, azCol[i], -1);
16881 output_quoted_string(p->out, azCol[i]);
16916 utf8_printf(p->out,"%s",azCol[i] ? azCol[i] : "");
16940 static int callback(void *pArg, int nArg, char **azArg, char **azCol){
16942 return shell_callback(pArg, nArg, azArg, azCol, NULL);
18429 static void freeColumnList(char **azCol){
18431 for(i=1; azCol[i]; i++){
18432 sqlite3_free(azCol[i]);
18434 /* azCol[0] is a static string */
18435 sqlite3_free(azCol);
18444 ** The azCol[0] entry is usually NULL. However, if zTab contains a rowid
18445 ** value that needs to be preserved, then azCol[0] is filled in with the
18448 ** The first regular column in the table is azCol[1]. The list is terminated
18449 ** by an entry with azCol[i]==0.
18452 char **azCol = 0;
18470 azCol = sqlite3_realloc(azCol, nAlloc*sizeof(azCol[0]));
18471 shell_check_oom(azCol);
18473 azCol[++nCol] = sqlite3_mprintf("%s", sqlite3_column_text(pStmt, 1));
18474 shell_check_oom(azCol[nCol]);
18488 if( azCol==0 ) return 0;
18489 azCol[0] = 0;
18490 azCol[nCol+1] = 0;
18512 freeColumnList(azCol);
18526 if( sqlite3_stricmp(azRowid[j],azCol[i])==0 ) break;
18531 ** name for the rowid before adding it to azCol[0]. WITHOUT ROWID
18534 if( rc==SQLITE_OK ) azCol[0] = azRowid[j];
18539 return azCol;
18613 char **azCol;
18618 azCol = tableColumnList(p, zTable);
18619 if( azCol==0 ){
18632 if( azCol[0] ){
18634 appendText(&sTable, azCol[0], 0);
18635 for(i=1; azCol[i]; i++){
18637 appendText(&sTable, azCol[i], quoteChar(azCol[i]));
18645 if( azCol[0] ){
18646 appendText(&sSelect, azCol[0], 0);
18649 for(i=1; azCol[i]; i++){
18650 appendText(&sSelect, azCol[i], quoteChar(azCol[i]));
18651 if( azCol[i+1] ){
18655 freeColumnList(azCol);