~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/variables.result

  • Committer: Monty Taylor
  • Date: 2010-04-22 02:46:23 UTC
  • mto: (1497.3.4 enable-dtrace)
  • mto: This revision was merged to the branch mainline in revision 1527.
  • Revision ID: mordred@inaugust.com-20100422024623-4urw8fi8eraci08p
Don't overwrite the pandora_vc_revinfo file if we don't have new
authoratative information.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
drop table if exists t1,t2;
 
2
set @my_myisam_key_cache_size           =@@global.myisam_key_cache_size;
2
3
set @my_max_connect_errors        =@@global.max_connect_errors;
3
4
set @my_max_heap_table_size       =@@global.max_heap_table_size;
4
5
set @my_max_join_size             =@@global.max_join_size;
196
197
mysql_protocol_buffer_length    1024
197
198
set global mysql_protocol_buffer_length=1;
198
199
Warnings:
199
 
Error   1524    Error setting mysql_protocol_buffer_length. Given value 1 (< 1024)
 
200
Error   1292    Truncated incorrect buffer_length value: '1'
200
201
show variables like 'mysql_protocol_buffer_length';
201
202
Variable_name   Value
202
203
mysql_protocol_buffer_length    1024
203
204
set global mysql_protocol_buffer_length=2000000000;
204
205
Warnings:
205
 
Error   1524    Error setting mysql_protocol_buffer_length. Given value 2000000000 (> 1048576)
 
206
Error   1292    Truncated incorrect buffer_length value: '2000000000'
206
207
show variables like 'mysql_protocol_buffer_length';
207
208
Variable_name   Value
208
 
mysql_protocol_buffer_length    1024
 
209
mysql_protocol_buffer_length    1048576
209
210
show variables like '%alloc%';
210
211
Variable_name   Value
211
212
innodb_use_sys_malloc   ON
295
296
set global max_write_lock_count=100;
296
297
set global myisam_sort_buffer_size=100;
297
298
Warnings:
298
 
Error   1524    Error setting myisam_sort_buffer_size. Given value 100 (< 1024)
 
299
Error   1292    Truncated incorrect sort_buffer_size value: '100'
299
300
set global mysql_protocol_buffer_length=100;
300
301
Warnings:
301
 
Error   1524    Error setting mysql_protocol_buffer_length. Given value 100 (< 1024)
 
302
Error   1292    Truncated incorrect buffer_length value: '100'
302
303
set read_buffer_size=100;
303
304
Warnings:
304
305
Error   1292    Truncated incorrect read_buffer_size value: '100'
319
320
Warnings:
320
321
Error   1292    Truncated incorrect tmp_table_size value: '100'
321
322
set tx_isolation="READ-COMMITTED";
 
323
create temporary table t1 (a int not null auto_increment, primary key(a));
 
324
create temporary table t2 (a int not null auto_increment, primary key(a));
 
325
insert into t1 values(null),(null),(null);
 
326
insert into t2 values(null),(null),(null);
 
327
set global myisam_key_cache_size=100000;
 
328
Warnings:
 
329
Error   1292    Truncated incorrect key_cache_size value: '100000'
 
330
select @@myisam_key_cache_size;
 
331
@@myisam_key_cache_size
 
332
1048576
 
333
select * from t1 where a=2;
 
334
a
 
335
2
 
336
select * from t2 where a=3;
 
337
a
 
338
3
 
339
check table t1,t2;
 
340
Table   Op      Msg_type        Msg_text
 
341
test.t1 check   status  OK
 
342
test.t2 check   status  OK
 
343
select max(a) +1, max(a) +2 into @xx,@yy from t1;
 
344
drop table t1,t2;
 
345
select @@xxxxxxxxxx;
 
346
ERROR HY000: Unknown system variable 'xxxxxxxxxx'
 
347
select 1;
 
348
1
 
349
1
 
350
select @@session.myisam_key_cache_size;
 
351
ERROR HY000: Variable 'myisam_key_cache_size' is a GLOBAL variable
322
352
set global myisam_max_sort_file_size=4294967296;
323
353
show global variables like 'myisam_max_sort_file_size';
324
354
Variable_name   Value
327
357
VARIABLE_NAME   VARIABLE_VALUE
328
358
myisam_max_sort_file_size       MAX_FILE_SIZE
329
359
set global myisam_max_sort_file_size=default;
 
360
set @@global.global.myisam_key_cache_size= 1;
 
361
ERROR HY000: Unknown system variable 'global'
 
362
set GLOBAL global.myisam_key_cache_size= 1;
 
363
ERROR HY000: Unknown system variable 'global'
 
364
SELECT @@global.global.myisam_key_cache_size;
 
365
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'myisam_key_cache_size' at line 1
 
366
SELECT @@global.session.myisam_key_cache_size;
 
367
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'myisam_key_cache_size' at line 1
 
368
SELECT @@global.local.myisam_key_cache_size;
 
369
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'myisam_key_cache_size' at line 1
330
370
create temporary table t1 (
331
371
c1 int,
332
372
c2 int,
336
376
show create table t1;
337
377
Table   Create Table
338
378
t1      CREATE TEMPORARY TABLE `t1` (
339
 
  `c1` INT DEFAULT NULL,
340
 
  `c2` INT DEFAULT NULL,
341
 
  `c3` INT DEFAULT NULL,
342
 
  `c4` INT DEFAULT NULL,
343
 
  `c5` BIGINT DEFAULT NULL
344
 
) ENGINE=MyISAM COLLATE = utf8_general_ci
 
379
  `c1` int DEFAULT NULL,
 
380
  `c2` int DEFAULT NULL,
 
381
  `c3` int DEFAULT NULL,
 
382
  `c4` int DEFAULT NULL,
 
383
  `c5` bigint DEFAULT NULL
 
384
) ENGINE=MyISAM
345
385
drop table t1;
346
386
set @arg00= 8, @arg01= 8.8, @arg02= 'a string', @arg03= 0.2e0;
347
387
create temporary table t1 as select @arg00 as c1, @arg01 as c2, @arg02 as c3, @arg03 as c4;
348
388
show create table t1;
349
389
Table   Create Table
350
390
t1      CREATE TEMPORARY TABLE `t1` (
351
 
  `c1` BIGINT DEFAULT NULL,
352
 
  `c2` DECIMAL(65,30) DEFAULT NULL,
353
 
  `c3` TEXT COLLATE utf8_general_ci,
354
 
  `c4` DOUBLE DEFAULT NULL
355
 
) ENGINE=MyISAM COLLATE = utf8_general_ci
 
391
  `c1` bigint DEFAULT NULL,
 
392
  `c2` decimal(65,30) DEFAULT NULL,
 
393
  `c3` text,
 
394
  `c4` double DEFAULT NULL
 
395
) ENGINE=MyISAM
356
396
drop table t1;
357
397
SET GLOBAL table_open_cache=-1;
358
398
Warnings:
533
573
End of 5.0 tests
534
574
set global flush_time                =@my_flush_time;
535
575
ERROR HY000: Unknown system variable 'flush_time'
 
576
set global myisam_key_cache_size           =@my_myisam_key_cache_size;
536
577
set global max_connect_errors        =@my_max_connect_errors;
537
578
set global max_heap_table_size       =@my_max_heap_table_size;
538
579
set global max_join_size             =@my_max_join_size;
539
580
set global max_write_lock_count      =default;
 
581
set global myisam_data_pointer_size  =@my_myisam_data_pointer_size;
 
582
ERROR 42000: Incorrect argument type to variable 'myisam_data_pointer_size'
540
583
set global mysql_protocol_buffer_length= @my_mysql_protocol_buffer_length;
541
584
set global server_id                 =@my_server_id;
542
585
set global storage_engine            =@my_storage_engine;