Bug #3440 32 indices isn't enough
| Submitted: | 11 Apr 2004 20:36 | Modified: | 26 Apr 2004 12:03 |
|---|---|---|---|
| Reporter: | Matthias Urlichs | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server | Severity: | S4 (Feature request) |
| Version: | 4.1 | OS: | Linux (Linux 2.4) |
| Assigned to: | Sergei Golubchik | CPU Architecture: | Any |
[11 Apr 2004 20:36]
Matthias Urlichs
[13 Apr 2004 1:18]
Sergei Golubchik
The major part of allowing more than 32 keys per table (converting uint-based bitmap to arbitrary length bitmap and extending frm file) was done already. By changing MAX_KEY (unireg.h) and typedef key_map (mysql_priv.h) you can have more that 32 indexes per table. (you'll have to recompile MySQL, but it's not a problem for you as far as I remember :) I'll check whether (and when) it may go into the mainstream version.
[22 Apr 2004 2:12]
Matthias Urlichs
A patch (including Bitmap<32> ;-) -- actually two changes, so if you decide to keep MAX_KEY at 32 for now, which IMHO would be a mistake, you can drop the second one) is available at bk://smurf.noris.de/tmp/mysql41
[26 Apr 2004 12:03]
Sergei Golubchik
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.
If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information
about accessing the source trees is available at
http://www.mysql.com/doc/en/Installing_source_tree.html
Additional info:
Ok, I increased MAX_KEY (and MI_MAX_KEY to cover MyISAM case) to 64.
Pushing now.
Will be in 4.1.2
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.