fix(iotdb): preserve LIST query result sets

This commit is contained in:
Guoyu Su authored and GitHub committed 2026-09-28 00:37:54 +08:00
1 parent d2c471306c
commit 1216cfbf54
2 files changed
+26 -1

No files matched your search

+1 -1
View File
@@ -556,7 +556,7 @@ func isQueryStatement(sql string) bool {
return false
}
switch strings.ToUpper(fields[0]) {
case "SELECT", "SHOW", "DESC", "DESCRIBE", "EXPLAIN", "WITH":
case "SELECT", "SHOW", "DESC", "DESCRIBE", "EXPLAIN", "WITH", "LIST":
return true
default:
return false