mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 10:08:20 +00:00
remove detection of comments in the middle of query in cli
This commit is contained in:
parent
4cf9305947
commit
4b7e4417aa
1 changed files with 0 additions and 7 deletions
|
@ -537,13 +537,6 @@ impl Limbo {
|
||||||
}
|
}
|
||||||
return Ok(());
|
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(';') {
|
if line.ends_with(';') {
|
||||||
self.buffer_input(line);
|
self.buffer_input(line);
|
||||||
let buff = self.input_buff.clone();
|
let buff = self.input_buff.clone();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue