summaryrefslogtreecommitdiff
path: root/sql/examples
diff options
context:
space:
mode:
Diffstat (limited to 'sql/examples')
-rw-r--r--sql/examples/ha_example.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/examples/ha_example.cc b/sql/examples/ha_example.cc
index db7a811df78..38e0171774e 100644
--- a/sql/examples/ha_example.cc
+++ b/sql/examples/ha_example.cc
@@ -71,7 +71,7 @@
#include "ha_example.h"
-static handler* example_create_handler(TABLE *table);
+static handler* example_create_handler(TABLE_SHARE *table);
handlerton example_hton= {
"EXAMPLE",
@@ -213,7 +213,7 @@ static int free_share(EXAMPLE_SHARE *share)
}
-static handler* example_create_handler(TABLE *table)
+static handler* example_create_handler(TABLE_SHARE *table)
{
return new ha_example(table);
}