Enable DIFF
option in LIVE SELECT
queries
This commit is contained in:
parent
0589465095
commit
ace60e4d1d
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ impl fmt::Display for LiveStatement {
|
||||||
pub fn live(i: &str) -> IResult<&str, LiveStatement> {
|
pub fn live(i: &str) -> IResult<&str, LiveStatement> {
|
||||||
let (i, _) = tag_no_case("LIVE SELECT")(i)?;
|
let (i, _) = tag_no_case("LIVE SELECT")(i)?;
|
||||||
let (i, _) = shouldbespace(i)?;
|
let (i, _) = shouldbespace(i)?;
|
||||||
let (i, expr) = fields(i)?;
|
let (i, expr) = alt((map(tag_no_case("DIFF"), |_| Fields::default()), fields))(i)?;
|
||||||
let (i, _) = shouldbespace(i)?;
|
let (i, _) = shouldbespace(i)?;
|
||||||
let (i, _) = tag_no_case("FROM")(i)?;
|
let (i, _) = tag_no_case("FROM")(i)?;
|
||||||
let (i, _) = shouldbespace(i)?;
|
let (i, _) = shouldbespace(i)?;
|
||||||
|
|
Loading…
Reference in a new issue