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

sql: Intialize SQL subsystem after config is over

If after recovery first client to invoke SQL differs from
ADMIN, then initialization of SQL subsystem will fail due to
insufficient access rights. Problem is that SQL invokes
create_from_tuple() to fill space_def structure, which in turn
verifies access right.
As far as SQL is a static part of Tarantool, there's no sense
to initialize the system by demand. Change performs data dictionary
initialization upon config completion.
Regression test added as well.

Closes #2483
parent 1a6b2fcc
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