Skip to content

Commit 63129ea

Browse files
authored
change of s3select compare sign from == into = (#78)
Signed-off-by: gal salomon <[email protected]>
1 parent 01380bf commit 63129ea

File tree

2 files changed

+81
-81
lines changed

2 files changed

+81
-81
lines changed

include/s3select.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ struct s3select : public bsc::grammar<s3select>
696696

697697
addsubop_operator = bsc::str_p("+") | bsc::str_p("-");
698698

699-
arith_cmp = bsc::str_p(">=") | bsc::str_p("<=") | bsc::str_p("==") | bsc::str_p("<") | bsc::str_p(">") | bsc::str_p("!=");
699+
arith_cmp = bsc::str_p(">=") | bsc::str_p("<=") | bsc::str_p("=") | bsc::str_p("<") | bsc::str_p(">") | bsc::str_p("!=");
700700

701701
and_op = bsc::str_p("and");
702702

@@ -932,7 +932,7 @@ void push_compare_operator::builder(s3select* self, const char* a, const char* b
932932
std::string token(a, b);
933933
arithmetic_operand::cmp_t c = arithmetic_operand::cmp_t::NA;
934934

935-
if (token == "==")
935+
if (token == "=")
936936
{
937937
c = arithmetic_operand::cmp_t::EQ;
938938
}

0 commit comments

Comments
 (0)