We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6df4992 commit c468b97Copy full SHA for c468b97
1 file changed
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