We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 832d490 commit 0b03de0Copy full SHA for 0b03de0
store/postgres/src/sql/validation.rs
@@ -122,8 +122,8 @@ impl<'a> Validator<'a> {
122
impl VisitorMut for Validator<'_> {
123
type Break = Error;
124
125
- fn pre_visit_statement(&mut self, _statement: &mut Statement) -> ControlFlow<Self::Break> {
126
- match _statement {
+ fn pre_visit_statement(&mut self, statement: &mut Statement) -> ControlFlow<Self::Break> {
+ match statement {
127
Statement::Query(_) => ControlFlow::Continue(()),
128
_ => ControlFlow::Break(Error::NotSelectQuery),
129
}
0 commit comments