taosdata/TDengine

in C++, inserting data immediately into a new table fails with error: column type mis-match with buffer type

Open

#22.250 aberto em 31 de jul. de 2023

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)C (5.002 forks)batch import
help wantedquestion

Métricas do repositório

Stars
 (24.849 stars)
Métricas de merge de PR
 (Mesclagem média 1d 1h) (4 fundiu PRs em 30d)

Description

现象描述: 1.第一次代码执行过程:C++连接数据后,创建一张新表,接着直接往新建表中插入一些数据,会报【failed to execute taos_stmt_bind_param_batch. error: column type mis-match with buffer type】 image image

2.第二次直接插入数据(表已存在),插入成功,不会报错。 image image

3.删除表,在【新建表】后添加睡眠10秒的逻辑,再次执行代码,现象与第一次相同。

Guia do colaborador