summaryrefslogtreecommitdiff
path: root/sql/examples
diff options
context:
space:
mode:
authorunknown <knielsen@mysql.com>2005-11-25 10:35:26 +0100
committerunknown <knielsen@mysql.com>2005-11-25 10:35:26 +0100
commit95b6827587cba7cd8c7448b765b409f467ff7e3d (patch)
tree8bd07bf7fda616f0b559a0e3e4cffae783357d7c /sql/examples
parentefd2066135ec75306c5ef03b31657c5e6a20039d (diff)
downloadmariadb-git-95b6827587cba7cd8c7448b765b409f467ff7e3d.tar.gz
Fix example storage engine following table def cache updates.
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);
}