fix the issue #233, failed to record slow query

This commit is contained in:
slguan 2019-07-30 18:05:44 +08:00
parent 322181c144
commit 2a6b447aa2
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ int taosDumpOut(struct arguments *arguments) {
if (arguments->databases) {
for (int i = 0; arguments->arg_list[i]; i++) {
if (strncasecmp(arguments->arg_list[i], (char *)row[TSDB_SHOW_DB_NAME_INDEX],
if (strncasecmp(arguments->arg_list[i], (char *)row[TSDB_SHOW_DB_NAME_INDEX],
fields[TSDB_SHOW_DB_NAME_INDEX].bytes) == 0)
goto _dump_db_point;
}