Skip to content
Snippets Groups Projects
Commit 95aefec3 authored by Vladimir Davydov's avatar Vladimir Davydov
Browse files

alter: do not crash if sequence is created for space with no indexes

If a space has no indexes, index_find() will return NULL, which will be
happily dereferenced by on_replace_dd_sequence(). Looks like this bug
goes back to the time when we made index_find() exception-free and
introduced index_find_xc() wrapper. Fix it and add a test case.
parent 7c7a2fa1
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