summaryrefslogtreecommitdiff
path: root/sql/mysql_priv.h
diff options
context:
space:
mode:
authorlenz@mysql.com <>2003-09-29 12:01:10 +0200
committerlenz@mysql.com <>2003-09-29 12:01:10 +0200
commit9b8b92faff6b96058dccf71f604ddec2c59f71a0 (patch)
tree6bad886cdcf58dffe051453c2e8bfc66e0035302 /sql/mysql_priv.h
parent89f30200bca2fe2861401d0acf9d45320bf9592a (diff)
downloadmariadb-git-9b8b92faff6b96058dccf71f604ddec2c59f71a0.tar.gz
- enable changing the number of table bits for JOINs to be increased
from ulong to ulonglong by defining -DBIG_JOINS
Diffstat (limited to 'sql/mysql_priv.h')
-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 */