summaryrefslogtreecommitdiff
path: root/storage/myisam
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-06-04 09:14:38 +0200
committerSergei Golubchik <sergii@pisem.net>2014-06-04 09:14:38 +0200
commit67bf16a48b7e12090e0c02aeafdac0e08c95ea78 (patch)
tree9d06575df78e21f5316425d68c328c940369db9f /storage/myisam
parent23a5b2eb6d3ebb2536186c4bd324c39cb2768450 (diff)
downloadmariadb-git-67bf16a48b7e12090e0c02aeafdac0e08c95ea78.tar.gz
fix the code to compile without P_S
Diffstat (limited to 'storage/myisam')
-rw-r--r--storage/myisam/mi_delete_table.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/storage/myisam/mi_delete_table.c b/storage/myisam/mi_delete_table.c
index 7f351bb35a6..7be9c8f7b22 100644
--- a/storage/myisam/mi_delete_table.c
+++ b/storage/myisam/mi_delete_table.c
@@ -20,6 +20,12 @@
#include "fulltext.h"
+#ifndef HAVE_PSI_INTERFACE
+#define PSI_file_key int
+#define mi_key_file_kfile 0
+#define mi_key_file_dfile 0
+#endif
+
static int delete_one_file(const char *name, const char *ext,
PSI_file_key pskey, myf flags)
{