• vasil's avatar
    branches/5.1: · 7609df7f
    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
    7609df7f
innodb_bug35220.result 27 Bytes