mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Bug#36001: Partitions: spelling and using some error messages
Backport from 6.0 Changed error message to show that it is partitioning that does not support foreign keys yet. Changed spelling from British english to American english.
This commit is contained in:
@ -3321,7 +3321,7 @@ bool mysql_create_table_no_lock(THD *thd,
|
||||
if (key->type == Key::FOREIGN_KEY &&
|
||||
!part_info->is_auto_partitioned)
|
||||
{
|
||||
my_error(ER_CANNOT_ADD_FOREIGN, MYF(0));
|
||||
my_error(ER_FOREIGN_KEY_ON_PARTITIONED, MYF(0));
|
||||
goto err;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user