提交 b48c0c88 编写于 作者: G Ganlin Zhao

[TD-11999]<fix>(other): remove double quotes from restful_info table using underscore instead

上级 a87b6699
......@@ -463,7 +463,7 @@ static void monBuildMonitorSql(char *sql, int32_t cmd) {
int pos = snprintf(sql, SQL_LENGTH,
"create table if not exists %s.restful_info(ts timestamp", tsMonitorDbName);
for (int i = 0; i < tListLen(monHttpStatusTable); ++i) {
pos += snprintf(sql + pos, SQL_LENGTH, ", `%s(%d)` int",
pos += snprintf(sql + pos, SQL_LENGTH, ", %s_%d int",
monHttpStatusTable[i].name,
monHttpStatusTable[i].code);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册