未验证 提交 83d52986 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

[TD-5872]<fix>: taosdemo stmt performance. (#7234)

上级 5823bcfc
...@@ -5981,7 +5981,7 @@ static int32_t prepareStbStmtBind( ...@@ -5981,7 +5981,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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册