summaryrefslogtreecommitdiff
path: root/sql/examples
diff options
context:
space:
mode:
authorknielsen@mysql.com <>2005-11-25 10:35:26 +0100
committerknielsen@mysql.com <>2005-11-25 10:35:26 +0100
commit866ea4552fd15ee1db9052cceecdc218ff41f7a8 (patch)
tree8bd07bf7fda616f0b559a0e3e4cffae783357d7c /sql/examples
parent47199237819345073ee47636e6df6d5d595450cf (diff)
downloadmariadb-git-866ea4552fd15ee1db9052cceecdc218ff41f7a8.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);
}