mariadb/config/ac-macros
unknown 65d412db6e Bug#10932 - Building server with key limit of 128, makes test cases fail
Allow for configuration of the maximum number of indexes per table.
Added and used a configure.in macro.
Replaced fixed limits by the configurable limit.
Limited MyISAM indexes to its hard limit.
Fixed a bug in opt_range.cc for many indexes with InnoDB.

Tested for 2, 63, 64, 65, 127, 128, 129, 255, 256, and 257 indexes.
Testing this part of the bugfix requires rebuilding of the server 
with different options. This cannot be done with our test suite. 
Therefore I added the necessary test files to the bug report.
If you repeat the tests, please note that the ps_* tests fail for
everything but 64 indexes. This is because of differences in the 
meta data, namely field lengths for index names etc.


config/ac-macros/misc.m4:
  Bug#10932 - Building server with key limit of 128, makes test cases fail
  Allow for configuration of the maximum number of indexes per table.
  Added a macro for the new build option.
configure.in:
  Bug#10932 - Building server with key limit of 128, makes test cases fail
  Allow for configuration of the maximum number of indexes per table.
  Added a call for the new macro.
include/myisam.h:
  Bug#10932 - Building server with key limit of 128, makes test cases fail
  Allow for configuration of the maximum number of indexes per table.
  Limit the number of keys for MyISAM to its hard limit.
sql/mysql_priv.h:
  Bug#10932 - Building server with key limit of 128, makes test cases fail
  Allow for configuration of the maximum number of indexes per table.
  Stick with the optimized Bitmap<64> if indexes are limited to 64
  or lower. Otherwise use a bigger bitmap. It must be defined as a
  multiple of 8.
sql/opt_range.cc:
  Bug#10932 - Building server with key limit of 128, makes test cases fail
  Allow for configuration of the maximum number of indexes per table.
  Initialize an object element to avoid a crash when using InnoDB
  with many indexes.
sql/unireg.h:
  Bug#10932 - Building server with key limit of 128, makes test cases fail
  Allow for configuration of the maximum number of indexes per table.
  Replace the fixed limit by the configurable limit.
tests/mysql_client_test.c:
  Bug#10932 - Building server with key limit of 128, makes test cases fail
  Allow for configuration of the maximum number of indexes per table.
  Replace the fixed limit by the configurable limit.
2005-12-02 16:27:18 +01:00
..
alloca.m4 Fixing problem with case insitive file systems. 2004-12-04 11:00:33 -08:00
character_sets.m4 Many files: 2005-09-12 19:35:50 +05:00
check_cpu.m4 Fixing problem with case insitive file systems. 2004-12-04 11:00:33 -08:00
compiler_flag.m4 Fixing problem with case insitive file systems. 2004-12-04 11:00:33 -08:00
ha_archive.m4 Fixing problem with case insitive file systems. 2004-12-04 11:00:33 -08:00
ha_berkeley.m4 Fixing problem with case insitive file systems. 2004-12-04 11:00:33 -08:00
ha_blackhole.m4 Adding rules for building blackhole, also updating test case. 2005-03-25 13:43:42 -08:00
ha_example.m4 Fixing problem with case insitive file systems. 2004-12-04 11:00:33 -08:00
ha_federated.m4 Fixed a typo in the configure --help menu. 2005-09-06 23:32:00 -07:00
ha_innodb.m4 Fixing problem with case insitive file systems. 2004-12-04 11:00:33 -08:00
ha_ndbcluster.m4 added structured ndbd exit codes 2005-10-03 20:04:44 +02:00
ha_tina.m4 Fixing problem with case insitive file systems. 2004-12-04 11:00:33 -08:00
large_file.m4 Fixing problem with case insitive file systems. 2004-12-04 11:00:33 -08:00
misc.m4 Bug#10932 - Building server with key limit of 128, makes test cases fail 2005-12-02 16:27:18 +01:00
openssl.m4 Post-merge fix of the fixes for NPTL configuration (bug#2173, bug#5871, and bug#9497). 2005-04-26 12:16:12 +02:00
readline.m4 Fix for Bug#3982 2005-09-14 21:47:24 -07:00
yassl.m4 Include libyassl.la and libtaocrypt.la in libmysqlclient.la 2005-11-28 16:28:00 +01:00
zlib.m4 Check for zlib with a zzlibCompileFlags() function in config/ac-macros/zlib.m4. 2005-11-21 16:05:40 +01:00