I've searched Google every way I know how, and came up with two answers that
refer to MAX_KEY and MI_MAX_KEY, along with a typedef for key_map.
I have the 4.1.1 alpha source (4.0 is no good, because it doesn't support
subqueries).
I changed the two defines in sql/mysql_priv.h and include/myisam.h,
respectively. The typedef for key_map is no longer ulong or ulonglong, but
instead Bitmap(64);
I left that alone.
After compiling, an attempt to create a table with more than 32 indexes
(which I absolutely must have) still shows an error referring to 32 max keys.
What's going on here? I could not find anywhere in the code that generates
that error which doesn't check either or both of the above defines.
So why isn't it working? Is it hard coded somewhere?
--
- Mike
Remove 'spambegone.net' and reverse to send e-mail.