diff --git a/source/client/src/tmq.c b/source/client/src/tmq.c index f08f54ef4b..9f9a14952e 100644 --- a/source/client/src/tmq.c +++ b/source/client/src/tmq.c @@ -1773,7 +1773,7 @@ tmq_res_t tmq_get_res_type(TAOS_RES* res) { } return TMQ_RES_TABLE_META; } else if (TD_RES_TMQ_TAOSX(res)) { - return TMQ_RES_TAOSX; + return TMQ_RES_DATA; } else { return TMQ_RES_INVALID; }