正在显示
1 个修改的文件
包含
0 行增加
和
6 行删除
| @@ -475,12 +475,6 @@ func (tableService *TableService) ValidExprSql(ctx *domain.Context, cmd *command | @@ -475,12 +475,6 @@ func (tableService *TableService) ValidExprSql(ctx *domain.Context, cmd *command | ||
| 475 | sql += " from " + strings.Join(set.KeysStr(), ",") | 475 | sql += " from " + strings.Join(set.KeysStr(), ",") |
| 476 | sql += " limit 1" | 476 | sql += " limit 1" |
| 477 | } | 477 | } |
| 478 | - //tx := starrocks.DB.Exec(sql) | ||
| 479 | - //if tx.Error != nil { | ||
| 480 | - // return map[string]string{ | ||
| 481 | - // "result": tx.Error.Error(), | ||
| 482 | - // }, nil | ||
| 483 | - //} | ||
| 484 | err := starrocks.ExecOfficial(sql) | 478 | err := starrocks.ExecOfficial(sql) |
| 485 | if err != nil { | 479 | if err != nil { |
| 486 | return map[string]string{ | 480 | return map[string]string{ |
-
请 注册 或 登录 后发表评论