From ea67af5a2938af5e7b77a33d071ca0639708b1dc Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Mon, 14 Feb 2022 22:20:11 +0000 Subject: [PATCH] Ensure DELETE statements WHERE clauses are processed --- src/doc/check.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/doc/check.rs b/src/doc/check.rs index 9277fc5f..8eaecdb8 100644 --- a/src/doc/check.rs +++ b/src/doc/check.rs @@ -17,6 +17,7 @@ impl<'a> Document<'a> { let cond = match stm { Statement::Select(stm) => stm.cond.as_ref(), Statement::Update(stm) => stm.cond.as_ref(), + Statement::Delete(stm) => stm.cond.as_ref(), _ => unreachable!(), }; // Match clause