Comment 6 for bug 1008293

Revision history for this message
Elena Stepanova (elenst) wrote : Re: Changing key_cache_segments value using set leads to crashes

The other variation of crash can be hit with the following grammar and command line:

# cat 2.yy
query_init:
  SET GLOBAL keycache1.key_buffer_size = 1024*1024;
thread1:
  SET GLOBAL key_cache_segments = _digit;

query:
  CACHE INDEX _table IN keycache1;

# End of RQG grammar

# Run as:

perl ./runall.pl \
--grammar=2.yy \
--duration=60 \
--queries=10M \
--engine=MyISAM \
--threads=2 \
--basedir=<your basedir> \
--vardir=<your vardir>