diff options
author | unknown <svoj@mysql.com/april.(none)> | 2006-12-07 18:32:40 +0400 |
---|---|---|
committer | unknown <svoj@mysql.com/april.(none)> | 2006-12-07 18:32:40 +0400 |
commit | 1cb8e4e9c9a3ae84351df513da84de58def57733 (patch) | |
tree | b18687e7ac15efe8c36dfa4a19279a91d8d33f18 /scripts/mysql_setpermission.sh | |
parent | a9e4e6ad4d68b89db6e251a99f45ebdcaaf0a7f8 (diff) | |
download | mariadb-git-1cb8e4e9c9a3ae84351df513da84de58def57733.tar.gz |
BUG#23404 - ROW_FORMAT=FIXED option is lost is an index is added to the
table
ROW_FORMAT option is lost during CREATE/DROP INDEX.
This fix forces CREATE/DROP INDEX to retain ROW_FORMAT by instructing
mysql_alter_table() that ROW_FORMAT is not used during creating/dropping
indexes.
mysql-test/r/alter_table.result:
A test case for bug#23404.
mysql-test/t/alter_table.test:
A test case for bug#23404.
sql/sql_parse.cc:
CREATE/DROP INDEX must not change ROW_FORMAT. Setting create_info.row_type
to ROW_TYPE_NOT_USED informs mysql_alter_table that ROW_FORMAT was not
used during alteration, and thus must be retained.
Diffstat (limited to 'scripts/mysql_setpermission.sh')
0 files changed, 0 insertions, 0 deletions