From 2bf5075dc48b9608b84c65aa8e43a61db20752c4 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Fri, 1 Apr 2022 11:39:10 +0100 Subject: [PATCH] Fix bug with DEFINE and PERMISSIONS statement formatting --- lib/src/sql/statements/define.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/sql/statements/define.rs b/lib/src/sql/statements/define.rs index 3f83349d..2e24899d 100644 --- a/lib/src/sql/statements/define.rs +++ b/lib/src/sql/statements/define.rs @@ -622,7 +622,7 @@ impl fmt::Display for DefineTableStatement { if let Some(ref v) = self.view { write!(f, " {}", v)? } - write!(f, "{}", self.permissions)?; + write!(f, " {}", self.permissions)?; Ok(()) } } @@ -840,7 +840,7 @@ impl fmt::Display for DefineFieldStatement { if let Some(ref v) = self.assert { write!(f, " ASSERT {}", v)? } - write!(f, "{}", self.permissions)?; + write!(f, " {}", self.permissions)?; Ok(()) } }