• heikki@hundin.mysql.fi's avatar
    ha_innodb.cc: · 40c0fde9
    heikki@hundin.mysql.fi authored
      If ALTER TABLE ... DROP FOREIGN KEY ... fails because of a wrong constraint name, return a table handler error number 150 instead of 152; the value 152 was misleading, as it referred to '152 = Cannot delete a parent row', whereas '150 = Foreign key constraint is incorrectly formed' is less misleading
    40c0fde9
ha_innodb.cc 140 KB