From 4b7e4417aa0832c5554a8dad32112b17cb0b7c7c Mon Sep 17 00:00:00 2001 From: pedrocarlo Date: Mon, 19 May 2025 16:47:00 -0300 Subject: [PATCH] remove detection of comments in the middle of query in cli --- cli/app.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cli/app.rs b/cli/app.rs index 69b770202..74e25104d 100644 --- a/cli/app.rs +++ b/cli/app.rs @@ -537,13 +537,6 @@ impl Limbo { } return Ok(()); } - - if let Some(comment_pos) = line.find("--") { - let before_comment = line[..comment_pos].trim(); - if !before_comment.is_empty() { - return self.handle_input_line(before_comment); - } - } if line.ends_with(';') { self.buffer_input(line); let buff = self.input_buff.clone();