Hotfix/sangshuduo/td 3400 max query sql count 100 (#5564)
* [TD-3400] <fix>: increase MAX_QUERY_SQL_COUNT to 100. * [TD-3400] <fix>: increase MAX_QUERY_SQL_COUNT to 100. use query times too instead of infinite loop. Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
This commit is contained in:
parent
162e84dcf0
commit
e9e5acd696
|
@ -86,7 +86,7 @@ enum TEST_MODE {
|
||||||
#define MAX_COLUMN_COUNT 1024
|
#define MAX_COLUMN_COUNT 1024
|
||||||
#define MAX_TAG_COUNT 128
|
#define MAX_TAG_COUNT 128
|
||||||
|
|
||||||
#define MAX_QUERY_SQL_COUNT 10
|
#define MAX_QUERY_SQL_COUNT 100
|
||||||
#define MAX_QUERY_SQL_LENGTH 256
|
#define MAX_QUERY_SQL_LENGTH 256
|
||||||
|
|
||||||
#define MAX_DATABASE_COUNT 256
|
#define MAX_DATABASE_COUNT 256
|
||||||
|
@ -5891,7 +5891,7 @@ static int subscribeTestProcess() {
|
||||||
pids = malloc(g_queryInfo.superQueryInfo.concurrent * sizeof(pthread_t));
|
pids = malloc(g_queryInfo.superQueryInfo.concurrent * sizeof(pthread_t));
|
||||||
infos = malloc(g_queryInfo.superQueryInfo.concurrent * sizeof(threadInfo));
|
infos = malloc(g_queryInfo.superQueryInfo.concurrent * sizeof(threadInfo));
|
||||||
if ((NULL == pids) || (NULL == infos)) {
|
if ((NULL == pids) || (NULL == infos)) {
|
||||||
printf("malloc failed for create threads\n");
|
errorPrint("%s() LN%d, malloc failed for create threads\n", __func__, __LINE__);
|
||||||
taos_close(taos);
|
taos_close(taos);
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
@ -6089,7 +6089,6 @@ static void setParaFromArg(){
|
||||||
g_Dbs.threadCountByCreateTbl = g_args.num_of_threads;
|
g_Dbs.threadCountByCreateTbl = g_args.num_of_threads;
|
||||||
g_Dbs.db[0].superTbls[0].tagCount = 0;
|
g_Dbs.db[0].superTbls[0].tagCount = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Function to do regular expression check */
|
/* Function to do regular expression check */
|
||||||
|
|
Loading…
Reference in New Issue