Merge pull request #67 from hyrise/fix/expr-for-update
Make UPDATE use expression, not literal
This commit is contained in:
commit
6dade78794
File diff suppressed because it is too large
Load Diff
|
@ -521,7 +521,7 @@ update_clause_commalist:
|
||||||
;
|
;
|
||||||
|
|
||||||
update_clause:
|
update_clause:
|
||||||
IDENTIFIER '=' literal {
|
IDENTIFIER '=' expr {
|
||||||
$$ = new UpdateClause();
|
$$ = new UpdateClause();
|
||||||
$$->column = $1;
|
$$->column = $1;
|
||||||
$$->value = $3;
|
$$->value = $3;
|
||||||
|
|
Loading…
Reference in New Issue