summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/examples/ha_tina.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/examples/ha_tina.cc b/sql/examples/ha_tina.cc
index 728af469bb0..06a19e478ae 100644
--- a/sql/examples/ha_tina.cc
+++ b/sql/examples/ha_tina.cc
@@ -43,6 +43,9 @@ TODO:
#endif
#include "mysql_priv.h"
+
+#ifdef HAVE_CSV_DB
+
#include "ha_tina.h"
#include <sys/mman.h>
@@ -844,3 +847,5 @@ int ha_tina::create(const char *name, TABLE *table_arg, HA_CREATE_INFO *create_i
DBUG_RETURN(0);
}
+
+#endif /* enable CSV */