[td-11818] refactor.
This commit is contained in:
parent
4383b4d66b
commit
5d38440cda
|
@ -341,7 +341,8 @@ void shellRunCommandOnServer(TAOS *con, char command[]) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (true /*!tscIsUpdateQuery(pSql)*/) { // select and show kinds of commands
|
TAOS_FIELD* pFields = taos_fetch_fields(pSql);
|
||||||
|
if (pFields != NULL) { // select and show kinds of commands
|
||||||
int error_no = 0;
|
int error_no = 0;
|
||||||
|
|
||||||
int numOfRows = shellDumpResult(pSql, fname, &error_no, printMode);
|
int numOfRows = shellDumpResult(pSql, fname, &error_no, printMode);
|
||||||
|
|
Loading…
Reference in New Issue