Skip to content
Snippets Groups Projects
Commit e7a70be4 authored by Kirill Yukhin's avatar Kirill Yukhin
Browse files

sql: raise an error on attempt to use HASH index in SQL

Since currently query planner is unable to use HASH indexes
and attempt to use it will likely lead to SEGFAULT, this
patch raises an error on attempt to open VDBE cursor
against HASH index.

@TarantoolBot document
Title: Doceument allowed index type for SQL
Before the change, Tarantool query planner segfaulted on
try of using non-tree index. It is blocked now w/ appropriate
error message. Need to document the behaviour.
It should be noted, that this restriction might be relaxed in future.

Closes #4659
parent a9276dae
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment