[patches] [PATCH V2 0/2] sql: fix non-working INDEXED BY clause
Bulat Niatshin
niatshin at tarantool.org
Mon Mar 5 15:22:11 MSK 2018
Branch:
https://github.com/tarantool/tarantool/tree/bn/gh-2996-indexed-by
Issue:
https://github.com/tarantool/tarantool/issues/2996
Brief overview:
INDEXED BY clause didn't worked in some cases. It was caused
by error in grammar file, which appeared in big keyword patch.
The reason of error was in fallback section, word INDEXED
shouldn't be there.
In this patch I've successfully fixed SQL grammar and wrote
some simple tests that ensures that INDEXED BY clause is
working correctly.
Bulat Niatshin (2):
sql: fix non-working 'INDEXED BY' clause
sql: regenerate parser after fixing grammar file
src/box/sql/parse.c | 2 +-
src/box/sql/parse.y | 2 +-
test/sql/gh2966-indexed-by.result | 21 +++++++++++++++++++++
test/sql/gh2966-indexed-by.test.lua | 10 ++++++++++
4 files changed, 33 insertions(+), 2 deletions(-)
create mode 100644 test/sql/gh2966-indexed-by.result
create mode 100644 test/sql/gh2966-indexed-by.test.lua
--
2.14.1
More information about the Tarantool-patches
mailing list