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

sql: Add stat spaces during schema_init

If Tarantool is being starteed using data from older
version, where stat tables were not system, it will definitely
crash, since SQL statistics analyzer will try to access non-
existing statistics tables (which will be added during upgrade).

To avoid such crash: create dummy statistics spaces during
schema init.

Also, fix types for statistics space format: prohibit null values
for statistic values and make sample format stronger.
parent c00623fe
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