Feature/sangshuduo/td 5136 taosdemo rework (#6911)
* [TD-5136]<feature>: taosdemo simulate real senario. * update test case according to taosdemo change * adjust range of semi-random data. * make demo mode use different tag name and value. * change malloc to calloc for pid allocation. * fix typo. Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
This commit is contained in:
parent
c9a3b75090
commit
0953a60676
|
@ -2815,7 +2815,7 @@ static int createSuperTable(
|
|||
if (strcasecmp(dataType, "BINARY") == 0) {
|
||||
if ((g_args.demo_mode) && (tagIndex == 1)) {
|
||||
len += snprintf(tags + len, STRING_LEN - len,
|
||||
"loction BINARY(%d), ",
|
||||
"location BINARY(%d), ",
|
||||
superTbl->tags[tagIndex].dataLen);
|
||||
} else {
|
||||
len += snprintf(tags + len, STRING_LEN - len, "t%d %s(%d), ",
|
||||
|
|
Loading…
Reference in New Issue