470,613 Members | 2,528 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,613 developers. It's quick & easy.

More than 32 indexes with MyISAM?

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.
Jul 19 '05 #1
0 1675

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by krystoffff | last post: by
2 posts views Thread by Mike Ruskai | last post: by
reply views Thread by Shailesh | last post: by
reply views Thread by Phil Powell | last post: by
1 post views Thread by Fábio Emilio Costa | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.