diff options
| author | Sergei Golubchik <serg@mariadb.org> | 2018-07-14 13:48:50 +0200 |
|---|---|---|
| committer | Sergei Golubchik <serg@mariadb.org> | 2018-07-19 11:35:39 +0200 |
| commit | 5c744bb5350acbf2d3abce28d01fc829c4f2375c (patch) | |
| tree | 05df7b1d84f60434b26f2f4d41f7476c949b07ef /sql/sql_truncate.cc | |
| parent | 40f29ecbf1c8bf36be443c40382fe8cdc8a7f413 (diff) | |
| download | mariadb-git-5c744bb5350acbf2d3abce28d01fc829c4f2375c.tar.gz | |
MDEV-14882 mysql_upgrade performs unnecessary conversions back and forth
avoid round-robin conversions, if the column is MODIFY-ed,
it should always be modified to its final definition, not to some
intermediate state.
also avoid other unconditional changes, like
ALTER TABLE event DROP PRIMARY KEY;
ALTER TABLE event ADD PRIMARY KEY(db, name);
Diffstat (limited to 'sql/sql_truncate.cc')
0 files changed, 0 insertions, 0 deletions
