fix: json csv and txt file postion
This commit is contained in:
parent
803a1f16db
commit
f66ca372a2
|
@ -14,7 +14,7 @@
|
|||
{
|
||||
"query_interval": 1,
|
||||
"concurrent":1,
|
||||
"sql_file": "./taosbenchmark/json/query-error-sqls.txt",
|
||||
"sql_file": "./tools/benchmark/json/query-error-sqls.txt",
|
||||
"result": "taosc_query_specified-sqlfile"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
"specified_table_query": {
|
||||
"query_interval": 3,
|
||||
"concurrent": 3,
|
||||
"sql_file": "./taosbenchmark/json/query-sqls-slow-query.txt"
|
||||
"sql_file": "./tools/benchmark/basic/json/query-sqls-slow-query.txt"
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -159,7 +159,6 @@
|
|||
,,y,army,./pytest.sh python3 ./test.py -f tools/taosdump/native/taosdumpTestTypeJson.py
|
||||
,,y,army,./pytest.sh python3 ./test.py -f tools/taosdump/native/taosdumpTestBasic.py
|
||||
,,y,army,./pytest.sh python3 ./test.py -f tools/taosdump/native/taosdumpTestTypeUnsignedSmallInt.py
|
||||
,,y,army,./pytest.sh python3 ./test.py -f tools/taosdump/native/taosdumpTestColTag.py
|
||||
,,y,army,./pytest.sh python3 ./test.py -f tools/taosdump/native/taosdumpDbNtb.py
|
||||
,,y,army,./pytest.sh python3 ./test.py -f tools/taosdump/native/taosdumpTestTypeUnsignedTinyInt.py
|
||||
,,y,army,./pytest.sh python3 ./test.py -f tools/taosdump/native/taosdumpTestTypeUnsignedInt.py
|
||||
|
|
|
@ -1048,10 +1048,10 @@ static unsigned char *print(const tools_cJSON * const item, tools_cJSON_bool for
|
|||
if (hooks->reallocate != NULL)
|
||||
{
|
||||
printed = (unsigned char*) hooks->reallocate(buffer->buffer, buffer->length);
|
||||
buffer->buffer = NULL;
|
||||
if (printed == NULL) {
|
||||
goto fail;
|
||||
}
|
||||
buffer->buffer = NULL;
|
||||
}
|
||||
else /* otherwise copy the JSON over to a new buffer */
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue