summaryrefslogtreecommitdiff
path: root/storage/innobase/include/dict0dict.ic
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-02-06 17:09:26 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2018-02-06 17:09:26 +0200
commit560b9895d413bdfedda0a0ca871a635858990c05 (patch)
treee801eb6dc9d198bcb048d3a734bc6e3d77b0858e /storage/innobase/include/dict0dict.ic
parentb4db96da5848e41bd15eafbecffaac71c465d1b6 (diff)
downloadmariadb-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.ic2
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));