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.
Loading
Please register or sign in to comment