mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 15:54:37 +01:00
branches/5.1: ha_innobase::check_if_incompatible_data(): Check
HA_CREATE_USED_ROW_FORMAT before comparing row_type. Previously, the comparison was incorrectly guarded by the presence of an AUTO_INCREMENT attribute.
This commit is contained in:
parent
aa96dab4ee
commit
cbf6c76a44
1 changed files with 1 additions and 1 deletions
|
@ -7935,7 +7935,7 @@ bool ha_innobase::check_if_incompatible_data(
|
|||
}
|
||||
|
||||
/* Check that row format didn't change */
|
||||
if ((info->used_fields & HA_CREATE_USED_AUTO) &&
|
||||
if ((info->used_fields & HA_CREATE_USED_ROW_FORMAT) &&
|
||||
get_row_type() != info->row_type) {
|
||||
|
||||
return COMPATIBLE_DATA_NO;
|
||||
|
|
Loading…
Add table
Reference in a new issue