• vasil's avatar
    branches/5.1: · 3fe4b483
    vasil authored
     
    Fix Bug#35220 ALTER TABLE too picky on reserved word "foreign".
     
    In ALTER TABLE, change the internal parser to search for
    ``FOREIGN[[:space:]]'' instead of only ``FOREIGN'' when parsing
    ALTER TABLE ... DROP FOREIGN KEY ...; otherwise it could be mistaken
    with ALTER TABLE ... DROP foreign_col;
     
    Approved by:	Heikki
    3fe4b483
innodb_bug35220.test 408 Bytes