diff --git a/sql/ha_berkeley.cc b/sql/ha_berkeley.cc index b91a0624335..a6cc05e1fdb 100644 --- a/sql/ha_berkeley.cc +++ b/sql/ha_berkeley.cc @@ -372,8 +372,9 @@ void berkeley_cleanup_log_files(void) ** Berkeley DB tables *****************************************************************************/ +static const char *ha_bdb_bas_exts[]= { ha_berkeley_ext, NullS }; const char **ha_berkeley::bas_ext() const -{ static const char *ext[]= { ha_berkeley_ext, NullS }; return ext; } +{ return ha_bdb_bas_exts; } ulong ha_berkeley::index_flags(uint idx, uint part, bool all_parts) const