[TD-5872]<fix>: taosdemo stmt performance. (#7237)
This commit is contained in:
parent
63f9198cd8
commit
e136773cf1
|
@ -5983,7 +5983,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