mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-24 03:34:18 +01:00
remove detection of comments in the middle of query in cli
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user