“74bc74d60837e38e22c269657ec21a4772da9792”上不存在“tests/pytest/tools/taosdemoTest-b.py”
提交 f29a9d1a 编写于 作者: G Ganlin Zhao

[TD-6452]<feature>: taoskeeper modified grants_info

上级 6e738ab8
...@@ -1185,8 +1185,12 @@ static void monSaveGrantsInfo() { ...@@ -1185,8 +1185,12 @@ static void monSaveGrantsInfo() {
char *timeseries = (char *)row[i]; char *timeseries = (char *)row[i];
if (timeseries[0] == 'u') { if (timeseries[0] == 'u') {
pos += snprintf(sql + pos, SQL_LENGTH, ", NULL, NULL)"); pos += snprintf(sql + pos, SQL_LENGTH, ", NULL, NULL)");
} else {
int32_t timeseries_used = strtol(timeseries, NULL, 10);
timeseries = strchr(timeseries, '/');
int32_t timeseries_total = strtol(timeseries + 1, NULL, 10);
pos += snprintf(sql + pos, SQL_LENGTH, ", %d, %d)", timeseries_used, timeseries_total);
} }
//pos += snprintf(sql + pos, SQL_LENGTH, ", %d, %d)", (char *)row[i]);
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册