Skip to content

Commit

Permalink
adapt to latest sqlparser
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Sep 29, 2023
1 parent d36a799 commit 5d9e1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webserver/database/sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ fn extract_static_simple_select(
&& s.distinct.is_none()
&& s.distribute_by.is_empty()
&& s.from.is_empty()
&& s.group_by.is_empty()
&& matches!(&s.group_by, sqlparser::ast::GroupByExpr::Expressions(e) if e.is_empty())
&& s.having.is_none()
&& s.into.is_none()
&& s.lateral_views.is_empty()
Expand Down

0 comments on commit 5d9e1ea

Please sign in to comment.