remove detection of comments in the middle of query in cli

This commit is contained in:
pedrocarlo 2025-05-19 16:47:00 -03:00
parent 4cf9305947
commit 4b7e4417aa

View file

@ -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();