~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/variables.result

  • Committer: Brian Aker
  • Date: 2010-02-14 02:02:48 UTC
  • mfrom: (1273.13.64 fix_is)
  • Revision ID: brian@gaz-20100214020248-bhovaejhz9fmer3q
Merge in data_dictionary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
drop table if exists t1,t2;
 
2
drop schema if exists data_dictionary;
 
3
create schema data_dictionary;
2
4
set @my_myisam_key_cache_size           =@@global.myisam_key_cache_size;
3
5
set @my_max_connect_errors        =@@global.max_connect_errors;
4
6
set @my_max_heap_table_size       =@@global.max_heap_table_size;
84
86
show variables like 'max_join_size';
85
87
Variable_name   Value
86
88
max_join_size   100
87
 
select * from information_schema.session_variables where variable_name like 'max_join_size';
 
89
select * from data_dictionary.session_variables where variable_name like 'max_join_size';
88
90
VARIABLE_NAME   VARIABLE_VALUE
89
91
max_join_size   100
90
92
show global variables like 'max_join_size';
91
93
Variable_name   Value
92
94
max_join_size   10
93
 
select * from information_schema.global_variables where variable_name like 'max_join_size';
 
95
select * from data_dictionary.global_variables where variable_name like 'max_join_size';
94
96
VARIABLE_NAME   VARIABLE_VALUE
95
97
max_join_size   10
96
98
set GLOBAL max_join_size=2000;
97
99
show global variables like 'max_join_size';
98
100
Variable_name   Value
99
101
max_join_size   2000
100
 
select * from information_schema.global_variables where variable_name like 'max_join_size';
 
102
select * from data_dictionary.global_variables where variable_name like 'max_join_size';
101
103
VARIABLE_NAME   VARIABLE_VALUE
102
104
max_join_size   2000
103
105
set max_join_size=DEFAULT;
104
106
show variables like 'max_join_size';
105
107
Variable_name   Value
106
108
max_join_size   2000
107
 
select * from information_schema.session_variables where variable_name like 'max_join_size';
 
109
select * from data_dictionary.session_variables where variable_name like 'max_join_size';
108
110
VARIABLE_NAME   VARIABLE_VALUE
109
111
max_join_size   2000
110
112
set GLOBAL max_join_size=DEFAULT;
111
113
show global variables like 'max_join_size';
112
114
Variable_name   Value
113
115
max_join_size   2147483647
114
 
select * from information_schema.global_variables where variable_name like 'max_join_size';
 
116
select * from data_dictionary.global_variables where variable_name like 'max_join_size';
115
117
VARIABLE_NAME   VARIABLE_VALUE
116
118
max_join_size   2147483647
117
119
set @@max_join_size=1000, @@global.max_join_size=2000;
144
146
show variables like 'timed_mutexes';
145
147
Variable_name   Value
146
148
timed_mutexes   ON
147
 
select * from information_schema.session_variables where variable_name like 'timed_mutexes';
 
149
select * from data_dictionary.session_variables where variable_name like 'timed_mutexes';
148
150
VARIABLE_NAME   VARIABLE_VALUE
149
151
timed_mutexes   ON
150
152
set global timed_mutexes=0;
151
153
show variables like 'timed_mutexes';
152
154
Variable_name   Value
153
155
timed_mutexes   OFF
154
 
select * from information_schema.session_variables where variable_name like 'timed_mutexes';
 
156
select * from data_dictionary.session_variables where variable_name like 'timed_mutexes';
155
157
VARIABLE_NAME   VARIABLE_VALUE
156
158
timed_mutexes   OFF
157
159
set storage_engine=MYISAM, storage_engine="MEMORY";
158
160
show local variables like 'storage_engine';
159
161
Variable_name   Value
160
162
storage_engine  MEMORY
161
 
select * from information_schema.session_variables where variable_name like 'storage_engine';
 
163
select * from data_dictionary.session_variables where variable_name like 'storage_engine';
162
164
VARIABLE_NAME   VARIABLE_VALUE
163
165
storage_engine  MEMORY
164
166
show global variables like 'storage_engine';
165
167
Variable_name   Value
166
168
storage_engine  InnoDB
167
 
select * from information_schema.global_variables where variable_name like 'storage_engine';
 
169
select * from data_dictionary.global_variables where variable_name like 'storage_engine';
168
170
VARIABLE_NAME   VARIABLE_VALUE
169
171
storage_engine  InnoDB
170
172
set GLOBAL myisam_max_sort_file_size=2000000;
171
173
show global variables like 'myisam_max_sort_file_size';
172
174
Variable_name   Value
173
175
myisam_max_sort_file_size       2000000
174
 
select * from information_schema.global_variables where variable_name like 'myisam_max_sort_file_size';
 
176
select * from data_dictionary.global_variables where variable_name like 'myisam_max_sort_file_size';
175
177
VARIABLE_NAME   VARIABLE_VALUE
176
178
myisam_max_sort_file_size       2000000
177
179
set GLOBAL myisam_max_sort_file_size=default;
178
180
show global variables like 'myisam_max_sort_file_size';
179
181
Variable_name   Value
180
182
myisam_max_sort_file_size       2147483647
181
 
select * from information_schema.global_variables where variable_name like 'myisam_max_sort_file_size';
 
183
select * from data_dictionary.global_variables where variable_name like 'myisam_max_sort_file_size';
182
184
VARIABLE_NAME   VARIABLE_VALUE
183
185
myisam_max_sort_file_size       2147483647
184
186
set global drizzle_protocol_buffer_length=1024;
185
187
show global variables like 'drizzle_protocol_buffer_%';
186
188
Variable_name   Value
187
189
drizzle_protocol_buffer_length  1024
188
 
select * from information_schema.global_variables where variable_name like 'drizzle_protocol_buffer_%';
 
190
select * from data_dictionary.global_variables where variable_name like 'drizzle_protocol_buffer_%';
189
191
VARIABLE_NAME   VARIABLE_VALUE
190
192
drizzle_protocol_buffer_length  1024
191
193
show global variables like 'drizzle_protocol_buffer_%';
192
194
Variable_name   Value
193
195
drizzle_protocol_buffer_length  1024
194
 
select * from information_schema.global_variables where variable_name like 'drizzle_protocol_buffer_%';
 
196
select * from data_dictionary.global_variables where variable_name like 'drizzle_protocol_buffer_%';
195
197
VARIABLE_NAME   VARIABLE_VALUE
196
198
drizzle_protocol_buffer_length  1024
197
199
set global drizzle_protocol_buffer_length=1;
211
213
innodb_use_sys_malloc   ON
212
214
query_alloc_block_size  8192
213
215
query_prealloc_size     8192
214
 
range_alloc_block_size  
215
 
select * from information_schema.session_variables where variable_name like '%alloc%';
 
216
range_alloc_block_size  8192
 
217
select * from data_dictionary.session_variables where variable_name like '%alloc%';
216
218
VARIABLE_NAME   VARIABLE_VALUE
217
219
innodb_use_sys_malloc   ON
218
220
query_alloc_block_size  8192
219
221
query_prealloc_size     8192
220
 
range_alloc_block_size  
 
222
range_alloc_block_size  8192
221
223
set @@range_alloc_block_size=1024*16;
222
224
set @@query_alloc_block_size=1024*17+2;
223
225
set @@query_prealloc_size=1024*18;
229
231
innodb_use_sys_malloc   ON
230
232
query_alloc_block_size  17408
231
233
query_prealloc_size     18432
232
 
range_alloc_block_size  
233
 
select * from information_schema.session_variables where variable_name like '%alloc%';
 
234
range_alloc_block_size  18432
 
235
select * from data_dictionary.session_variables where variable_name like '%alloc%';
234
236
VARIABLE_NAME   VARIABLE_VALUE
235
237
innodb_use_sys_malloc   ON
236
238
query_alloc_block_size  17408
237
239
query_prealloc_size     18432
238
 
range_alloc_block_size  
 
240
range_alloc_block_size  18432
239
241
set @@range_alloc_block_size=default;
240
242
set @@query_alloc_block_size=default, @@query_prealloc_size=default;
241
243
show variables like '%alloc%';
243
245
innodb_use_sys_malloc   ON
244
246
query_alloc_block_size  8192
245
247
query_prealloc_size     8192
246
 
range_alloc_block_size  
247
 
select * from information_schema.session_variables where variable_name like '%alloc%';
 
248
range_alloc_block_size  8192
 
249
select * from data_dictionary.session_variables where variable_name like '%alloc%';
248
250
VARIABLE_NAME   VARIABLE_VALUE
249
251
innodb_use_sys_malloc   ON
250
252
query_alloc_block_size  8192
251
253
query_prealloc_size     8192
252
 
range_alloc_block_size  
 
254
range_alloc_block_size  8192
253
255
SELECT @@version LIKE 'non-existent';
254
256
@@version LIKE 'non-existent'
255
257
0
352
354
show global variables like 'myisam_max_sort_file_size';
353
355
Variable_name   Value
354
356
myisam_max_sort_file_size       MAX_FILE_SIZE
355
 
select * from information_schema.global_variables where variable_name like 'myisam_max_sort_file_size';
 
357
select * from data_dictionary.global_variables where variable_name like 'myisam_max_sort_file_size';
356
358
VARIABLE_NAME   VARIABLE_VALUE
357
359
myisam_max_sort_file_size       MAX_FILE_SIZE
358
360
set global myisam_max_sort_file_size=default;
399
401
SHOW VARIABLES LIKE 'table_open_cache';
400
402
Variable_name   Value
401
403
table_open_cache        100
402
 
SELECT * FROM INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME LIKE 'table_open_cache';
 
404
SELECT * FROM DATA_DICTIONARY.SESSION_VARIABLES WHERE VARIABLE_NAME LIKE 'table_open_cache';
403
405
VARIABLE_NAME   VARIABLE_VALUE
404
406
table_open_cache        100
405
407
SET GLOBAL table_open_cache=DEFAULT;
519
521
ERROR HY000: Unknown system variable 'character_set_filesystem'
520
522
set character_set_filesystem=utf8;
521
523
ERROR HY000: Unknown system variable 'character_set_filesystem'
522
 
set @old_sql_big_selects = @@sql_big_selects;
 
524
set @sql_big_selects = @@sql_big_selects;
523
525
set @@sql_big_selects = 1;
524
526
show variables like 'sql_big_selects';
525
527
Variable_name   Value
526
528
sql_big_selects ON
527
 
set @@sql_big_selects = @old_sql_big_selects;
 
529
set @@sql_big_selects = @sql_big_selects;
528
530
set @@sql_notes = 0, @@sql_warnings = 0;
529
531
show variables like 'sql_notes';
530
532
Variable_name   Value
589
591
Variable_name   Value
590
592
table_definition_cache  #
591
593
table_lock_wait_timeout #
 
594
drop schema data_dictionary;