diff options
author | Mattias Jonsson <mattias.jonsson@sun.com> | 2008-10-29 21:30:04 +0100 |
---|---|---|
committer | Mattias Jonsson <mattias.jonsson@sun.com> | 2008-10-29 21:30:04 +0100 |
commit | fc74c4d9e5d134c94e5ce9363450e2b7126ae390 (patch) | |
tree | ee958ffd063d232ebef52499e6017b23e7e4df51 /sql/sql_partition.cc | |
parent | 8b1f501c70426cc51a8af0b859efb4dea07fcac5 (diff) | |
parent | 65811a336dbde9d09b6ed0b470fa37bd488a7a74 (diff) | |
download | mariadb-git-fc74c4d9e5d134c94e5ce9363450e2b7126ae390.tar.gz |
merge
Diffstat (limited to 'sql/sql_partition.cc')
-rw-r--r-- | sql/sql_partition.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc index a45664a9767..da80a2125e9 100644 --- a/sql/sql_partition.cc +++ b/sql/sql_partition.cc @@ -4251,8 +4251,7 @@ uint prep_alter_part_table(THD *thd, TABLE *table, Alter_info *alter_info, alter_info->no_parts= curr_part_no - new_part_no; } } - if (table->s->db_type()->alter_table_flags && - (!(flags= table->s->db_type()->alter_table_flags(alter_info->flags)))) + if (!(flags= table->file->alter_table_flags(alter_info->flags))) { my_error(ER_PARTITION_FUNCTION_FAILURE, MYF(0)); DBUG_RETURN(1); |