~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/key_cache.result

Merge in security refactor.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
ERROR HY000: Variable 'myisam_key_cache_block_size' is not a variable component (can't be used as XXXX.variable_name)
55
55
show status like 'key_blocks_used';
56
56
Variable_name   Value
 
57
Key_blocks_used 0
57
58
set global myisam_key_cache_size=100;
58
59
Warnings:
59
60
Error   1292    Truncated incorrect key_cache_size value: '100'
62
63
INSERT INTO t1 VALUES (1);
63
64
SELECT @@myisam_key_cache_block_size;
64
65
@@myisam_key_cache_block_size
65
 
1024
 
66
1536
66
67
CHECK TABLE t1;
67
68
Table   Op      Msg_type        Msg_text
68
69
test.t1 check   status  OK
94
95
4181
95
96
SELECT @@myisam_key_cache_block_size;
96
97
@@myisam_key_cache_block_size
97
 
1024
 
98
1536
98
99
CHECK TABLE t1;
99
100
Table   Op      Msg_type        Msg_text
100
101
test.t1 check   status  OK
124
125
test.t1 check   status  OK
125
126
SHOW VARIABLES LIKE 'myisam_key_cache_block_size';
126
127
Variable_name   Value
127
 
myisam_key_cache_block_size     1024
 
128
myisam_key_cache_block_size     1536
128
129
SET GLOBAL myisam_key_cache_block_size= @save_myisam_key_cache_block_size;
129
130
DROP TABLE t1,t2;
130
131
SET GLOBAL myisam_key_cache_division_limit= 0;
132
133
Error   1292    Truncated incorrect key_cache_division_limit value: '0'
133
134
SELECT @@myisam_key_cache_division_limit;
134
135
@@myisam_key_cache_division_limit
135
 
100
 
136
1
136
137
SET GLOBAL myisam_key_cache_division_limit= 101;
137
138
Warnings:
138
139
Error   1292    Truncated incorrect key_cache_division_limit value: '101'
144
145
Error   1292    Truncated incorrect key_cache_age_threshold value: '98'
145
146
SELECT @@myisam_key_cache_age_threshold;
146
147
@@myisam_key_cache_age_threshold
147
 
300
 
148
100
148
149
SET GLOBAL myisam_key_cache_age_threshold= 5000000000;
149
150
Warnings:
150
151
Error   1292    Truncated incorrect key_cache_age_threshold value: '5000000000'
151
152
SELECT @@myisam_key_cache_age_threshold;
152
153
@@myisam_key_cache_age_threshold
153
 
300
 
154
4294967295