未验证 提交 f3d389c1 编写于 作者: S Shengliang Guan 提交者: GitHub

Merge pull request #12444 from taosdata/fix/valgrind

enh: enable limit in shell
......@@ -509,7 +509,7 @@ void shellPrintField(const char *val, TAOS_FIELD *field, int32_t width, int32_t
bool shellIsLimitQuery(const char *sql) {
//todo refactor
if (strstr(sql, "limit") != NULL || strstr(sql, "LIMIT") != NULL) {
if (strcasestr(sql, " limit ") != NULL) {
return true;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册