summaryrefslogtreecommitdiff
path: root/sql/examples/ha_example.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/examples/ha_example.cc')
-rw-r--r--sql/examples/ha_example.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/sql/examples/ha_example.cc b/sql/examples/ha_example.cc
index d043a66e71a..562b51878bf 100644
--- a/sql/examples/ha_example.cc
+++ b/sql/examples/ha_example.cc
@@ -186,8 +186,14 @@ static int free_share(EXAMPLE_SHARE *share)
exist for the storage engine. This is also used by the default rename_table and
delete_table method in handler.cc.
*/
+static const char *ha_example_exts[] = {
+ NullS
+};
+
const char **ha_example::bas_ext() const
-{ static const char *ext[]= { NullS }; return ext; }
+{
+ return ha_example_exts;
+}
/*