diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-02-06 17:09:26 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-02-06 17:09:26 +0200 |
commit | 560b9895d413bdfedda0a0ca871a635858990c05 (patch) | |
tree | e801eb6dc9d198bcb048d3a734bc6e3d77b0858e /storage/innobase/include/dict0dict.ic | |
parent | b4db96da5848e41bd15eafbecffaac71c465d1b6 (diff) | |
download | mariadb-git-560b9895d413bdfedda0a0ca871a635858990c05.tar.gz |
MDEV-15115 Assertion failure in CREATE SEQUENCE...ROW_FORMAT=REDUNDANT
dict_tf_is_valid(): Allow no-rollback tables in ROW_FORMAT=REDUNDANT.
Diffstat (limited to 'storage/innobase/include/dict0dict.ic')
-rw-r--r-- | storage/innobase/include/dict0dict.ic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/include/dict0dict.ic b/storage/innobase/include/dict0dict.ic index dde3e2bfac7..4efb0971209 100644 --- a/storage/innobase/include/dict0dict.ic +++ b/storage/innobase/include/dict0dict.ic @@ -667,7 +667,7 @@ dict_tf_is_valid( bit. For ROW_FORMAT=REDUNDANT, only the DATA_DIR flag (which we cleared above) can be set. If any other flags are set, the flags are invalid. */ - return(flags == 0); + return(flags == 0 || flags == DICT_TF_MASK_NO_ROLLBACK); } return(dict_tf_is_valid_not_redundant(flags)); |