Re: [Maria-developers] Rev 3966: MDEV-4439 ALTER TABLE .. [ADD|DROP] FOREIGN KEY IF [NOT] EXISTS does not work if constraint name is not used
Hi, Holyfoot! On Feb 01, holyfoot@askmonty.org wrote:
revno: 3966 revision-id: holyfoot@askmonty.org-20140201114304-7bi0ug2yg3eyyhlr parent: psergey@askmonty.org-20140121100700-9g8hl8vx8nmk1e2w committer: Alexey Botchkov <holyfoot@askmonty.org> branch nick: 10-hf timestamp: Sat 2014-02-01 15:43:04 +0400 message: MDEV-4439 ALTER TABLE .. [ADD|DROP] FOREIGN KEY IF [NOT] EXISTS does not work if constraint name is not used. Patches for server and the Innodb engine. Server is fixed so it does nothing if no indexes left to alter. Innodb parser is fixed so it looks for the IF [NOT] EXISTS option in a string. Another change is that it uses the index name for the internal dictionary. Prior to that it only used the CONSTRAINT name for it.
ok to push Regards, Sergei
participants (1)
-
Sergei Golubchik