Skip to content
Snippets Groups Projects
Commit dae66131 authored by Nikita Pettik's avatar Nikita Pettik Committed by Kirill Yukhin
Browse files

Fix creation of FK constraint in case of no child's PK

on_replace_dd_fk_constraint() assumes that child's primary index
exists: it is used to verify emptiness of space invoking index_size().
This commit fixes this obvious bug which could lead to crash.
parent c3621949
No related branches found
No related tags found
Loading
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