diff options
author | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-10-05 04:24:07 -0400 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-11-02 09:45:43 -0400 |
commit | 3daf89ced99b41ad6144cd1d4236959e641f5592 (patch) | |
tree | 0f333f4ef121ee453757271ae77319b7e4737563 /sql/sql_statistics.h | |
parent | 6dbfe7f399d121dc2a040b21c96777c0a47141fb (diff) | |
download | mariadb-git-3daf89ced99b41ad6144cd1d4236959e641f5592.tar.gz |
MDEV-10957: Assertion failure when dropping a myisam table with wsrep_replicate_myisam enabled
Internal updates to system statistical tables could wrongly
trigger an additional total-order replication if wsrep_repli
-cate_myisam is enabled.
Fixed by adding a check to skip total-order replication for
stat tables.
Test: galera.galera_var_replicate_myisam_on
Diffstat (limited to 'sql/sql_statistics.h')
-rw-r--r-- | sql/sql_statistics.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_statistics.h b/sql/sql_statistics.h index 8e5f8107849..20b2eb66449 100644 --- a/sql/sql_statistics.h +++ b/sql/sql_statistics.h @@ -107,6 +107,7 @@ double get_column_range_cardinality(Field *field, key_range *min_endp, key_range *max_endp, uint range_flag); +bool is_stat_table(const char *db, const char *table); class Histogram { |