提交 755d7d94 编写于 作者: Z zhaoyanggh

add break

上级 90059f61
......@@ -394,6 +394,7 @@ void taos_stmt_use_result_query(void *taos, char *col, int type) {
params->buffer_length = sizeof(v.c2);
params->buffer = &v.c2;
params->length = &params->buffer_length;
break;
case TSDB_DATA_TYPE_BIGINT:
params->buffer_length = sizeof(v.c3);
params->buffer = &v.c3;
......@@ -403,6 +404,7 @@ void taos_stmt_use_result_query(void *taos, char *col, int type) {
params->buffer_length = sizeof(v.c4);
params->buffer = &v.c4;
params->length = &params->buffer_length;
break;
case TSDB_DATA_TYPE_DOUBLE:
params->buffer_length = sizeof(v.c5);
params->buffer = &v.c5;
......@@ -422,6 +424,7 @@ void taos_stmt_use_result_query(void *taos, char *col, int type) {
params->buffer_length = sizeof(v.c8);
params->buffer = &v.c8;
params->length = &params->buffer_length;
break;
case TSDB_DATA_TYPE_BOOL:
params->buffer_length = sizeof(v.c9);
params->buffer = &v.c9;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册