diff options
author | Monty <monty@mariadb.org> | 2018-02-14 02:30:11 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2018-03-29 13:59:40 +0300 |
commit | c3f37c070ce1224173fa5ed9033d50aa6f0bc535 (patch) | |
tree | cd420eceea1ab0fab740e1b1b7e801398e1ce9b3 /sql/handler.h | |
parent | 209375fdd07d9be79784984f8543be73d1f92a9a (diff) | |
download | mariadb-git-c3f37c070ce1224173fa5ed9033d50aa6f0bc535.tar.gz |
Fixed alter online table for Aria tables
fill_alter_table() always thought that index was changed because of
of a wrong check of block_size. Some engines had code to correct this
that should not be needed, Aria didn't and because of this some online
operations didn't work.
This code fixes the comparision of block_size to only compare if it's set.
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/handler.h b/sql/handler.h index 29a837b5ea8..01d243a4451 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -2347,6 +2347,7 @@ typedef struct st_key_create_information { enum ha_key_alg algorithm; ulong block_size; + uint flags; /* HA_USE.. flags */ LEX_CSTRING parser_name; LEX_CSTRING comment; /** |