diff options
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r-- | sql/ha_partition.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index f503b2f54e5..23af3825756 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -388,6 +388,15 @@ const char *ha_partition::table_type() const } +#if defined(WITH_WSREP) && !defined(EMBEDDED_LIBRARY) +int ha_partition::wsrep_db_type() const +{ + // we can do this since we only support a single engine type + return partition_ht()->db_type; +} +#endif /* WITH_WSREP && !EMBEDDED_LIBRARY */ + + /* Destructor method |