~jtolmer/mysql-server/global-trx-ids

« back to all changes in this revision

Viewing changes to mysql-test/r/query_cache.result

  • Committer: Marc Alff
  • Date: 2008-07-16 22:29:22 UTC
  • Revision ID: marc.alff@sun.com-20080716222922-hlmk0lyj2seeb1ag
Bug#30087 Set query_cache_size, if the value is too small, get a unclear warning

Reverting the previous patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
564
564
a
565
565
set GLOBAL query_cache_size=1024;
566
566
Warnings:
567
 
Warning 1282    Query cache failed to set size 1024 (minimal value: 41297); new query cache size is 0
 
567
Warning 1282    Query cache failed to set size 1024; new query cache size is 0
568
568
show global variables like "query_cache_size";
569
569
Variable_name   Value
570
570
query_cache_size        0
572
572
a
573
573
set GLOBAL query_cache_size=10240;
574
574
Warnings:
575
 
Warning 1282    Query cache failed to set size 10240 (minimal value: 41297); new query cache size is 0
 
575
Warning 1282    Query cache failed to set size 10240; new query cache size is 0
576
576
show global variables like "query_cache_size";
577
577
Variable_name   Value
578
578
query_cache_size        0
580
580
a
581
581
set GLOBAL query_cache_size=20480;
582
582
Warnings:
583
 
Warning 1282    Query cache failed to set size 20480 (minimal value: 41297); new query cache size is 0
 
583
Warning 1282    Query cache failed to set size 20480; new query cache size is 0
584
584
show global variables like "query_cache_size";
585
585
Variable_name   Value
586
586
query_cache_size        0
588
588
a
589
589
set GLOBAL query_cache_size=40960;
590
590
Warnings:
591
 
Warning 1282    Query cache failed to set size 40960 (minimal value: 41297); new query cache size is 0
 
591
Warning 1282    Query cache failed to set size 40960; new query cache size is 0
592
592
show global variables like "query_cache_size";
593
593
Variable_name   Value
594
594
query_cache_size        0