summaryrefslogtreecommitdiff
path: root/storage/sphinx/ha_sphinx.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/sphinx/ha_sphinx.h')
-rw-r--r--storage/sphinx/ha_sphinx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/sphinx/ha_sphinx.h b/storage/sphinx/ha_sphinx.h
index 3f517062cff..4435eb4724e 100644
--- a/storage/sphinx/ha_sphinx.h
+++ b/storage/sphinx/ha_sphinx.h
@@ -8,7 +8,7 @@
#if MYSQL_VERSION_ID>50100
-#define TABLE_ARG st_table_share
+#define TABLE_ARG TABLE_SHARE
#else
#define TABLE_ARG st_table
#endif
@@ -18,6 +18,7 @@
typedef uchar byte;
#endif
+#include "handler.h"
/// forward decls
class THD;