Hotfix/sangshuduo/td 3631 max stb count (#5645)
* [TD-3631] <fix>: increase max super table count to 10000 * [TD-3631] <fix>: use smaller max stb count due to data structure limit. Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
This commit is contained in:
parent
598b1ce6bf
commit
e39762deb1
|
@ -85,7 +85,7 @@ enum TEST_MODE {
|
||||||
#define MAX_NUM_DATATYPE 10
|
#define MAX_NUM_DATATYPE 10
|
||||||
|
|
||||||
#define MAX_DB_COUNT 8
|
#define MAX_DB_COUNT 8
|
||||||
#define MAX_SUPER_TABLE_COUNT 8
|
#define MAX_SUPER_TABLE_COUNT 200
|
||||||
#define MAX_COLUMN_COUNT 1024
|
#define MAX_COLUMN_COUNT 1024
|
||||||
#define MAX_TAG_COUNT 128
|
#define MAX_TAG_COUNT 128
|
||||||
|
|
||||||
|
@ -4090,7 +4090,7 @@ static bool getInfoFromJsonFile(char* file) {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
int maxLen = 64000;
|
int maxLen = 6400000;
|
||||||
char *content = calloc(1, maxLen + 1);
|
char *content = calloc(1, maxLen + 1);
|
||||||
int len = fread(content, 1, maxLen, fp);
|
int len = fread(content, 1, maxLen, fp);
|
||||||
if (len <= 0) {
|
if (len <= 0) {
|
||||||
|
|
Loading…
Reference in New Issue