Commit ad0a7a30 authored by unknown's avatar unknown

- enable changing the number of table bits for JOINs to be increased

   from ulong to ulonglong by defining -DBIG_JOINS


sql/mysql_priv.h:
   - enable changing the number of table bits for JOINs to be increased
     from ulong to ulonglong by defining BIG_JOINS
parent e03265d4
...@@ -29,7 +29,12 @@ ...@@ -29,7 +29,12 @@
#undef write /* remove pthread.h macro definition for EMX */ #undef write /* remove pthread.h macro definition for EMX */
#endif #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 */ typedef ulong table_map; /* Used for table bits in join */
#endif /* BIG_JOINS */
typedef ulong key_map; /* Used for finding keys */ typedef ulong key_map; /* Used for finding keys */
typedef ulong key_part_map; /* Used for finding key parts */ typedef ulong key_part_map; /* Used for finding key parts */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment