[TD-5872]<fix>: taosdemo stmt performance. (#7236)
This commit is contained in:
parent
563213d1bc
commit
a93326c979
|
@ -5982,7 +5982,7 @@ static int32_t prepareStbStmtBind(
|
||||||
int64_t startTime, int32_t recSeq,
|
int64_t startTime, int32_t recSeq,
|
||||||
bool isColumn)
|
bool isColumn)
|
||||||
{
|
{
|
||||||
char *bindBuffer = calloc(1, g_args.len_of_binary);
|
char *bindBuffer = calloc(1, DOUBLE_BUFF_LEN); // g_args.len_of_binary);
|
||||||
if (bindBuffer == NULL) {
|
if (bindBuffer == NULL) {
|
||||||
errorPrint("%s() LN%d, Failed to allocate %d bind buffer\n",
|
errorPrint("%s() LN%d, Failed to allocate %d bind buffer\n",
|
||||||
__func__, __LINE__, g_args.len_of_binary);
|
__func__, __LINE__, g_args.len_of_binary);
|
||||||
|
|
Loading…
Reference in New Issue