diff options
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r-- | sql/ha_partition.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index 06fb9e32e35..562716a7db7 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -5414,6 +5414,13 @@ int ha_partition::extra(enum ha_extra_function operation) /* Currently only NDB use the *_CANNOT_BATCH */ break; } + /* + http://dev.mysql.com/doc/refman/5.1/en/partitioning-limitations.html + says we no longer support logging to partitioned tables, so we fail + here. + */ + case HA_EXTRA_MARK_AS_LOG_TABLE: + DBUG_RETURN(ER_UNSUPORTED_LOG_ENGINE); default: { /* Temporary crash to discover what is wrong */ |