summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/mysql_priv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h
index 8024c755a63..23cf4952e3d 100644
--- a/sql/mysql_priv.h
+++ b/sql/mysql_priv.h
@@ -29,7 +29,12 @@
#undef write /* remove pthread.h macro definition for EMX */
#endif
+#ifdef BIG_JOINS
+typedef ulonglong table_map; /* Used for table bits in join */
+#else
typedef ulong table_map; /* Used for table bits in join */
+#endif /* BIG_JOINS */
+
typedef ulong key_map; /* Used for finding keys */
typedef ulong key_part_map; /* Used for finding key parts */