~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/variables.result

  • Committer: Brian Aker
  • Date: 2008-12-24 03:29:57 UTC
  • Revision ID: brian@gir.tangent.org-20081224032957-2tg0xebdeow1a77m
BugĀ #311084

Show diffs side-by-side

added added

removed removed

Lines of Context:
450
450
VARIABLE_NAME   VARIABLE_VALUE
451
451
MYISAM_MAX_SORT_FILE_SIZE       MAX_FILE_SIZE
452
452
set global myisam_max_sort_file_size=default;
453
 
select @@global.myisam_max_sort_file_size,@@local.max_join_size;
454
 
@@global.myisam_max_sort_file_size      @@local.max_join_size
455
 
9223372036853727232     100
456
 
set @svc=@@global.myisam_max_sort_file_size, @svj=@@local.max_join_size;
457
 
select @@global.myisam_max_sort_file_size,@@local.max_join_size;
458
 
@@global.myisam_max_sort_file_size      @@local.max_join_size
459
 
9223372036853727232     100
460
 
set @@global.myisam_max_sort_file_size=111,@@local.max_join_size=222;
461
 
select @@global.myisam_max_sort_file_size,@@local.max_join_size;
462
 
@@global.myisam_max_sort_file_size      @@local.max_join_size
463
 
0       222
464
 
set @@global.myisam_max_sort_file_size=@@local.max_join_size,@@local.max_join_size=@@global.myisam_max_sort_file_size;
465
 
Warnings:
466
 
Warning 1292    Truncated incorrect max_join_size value: '0'
467
 
select @@global.myisam_max_sort_file_size,@@local.max_join_size;
468
 
@@global.myisam_max_sort_file_size      @@local.max_join_size
469
 
0       1
470
 
set @@global.myisam_max_sort_file_size=@svc, @@local.max_join_size=@svj;
471
 
select @@global.myisam_max_sort_file_size,@@local.max_join_size;
472
 
@@global.myisam_max_sort_file_size      @@local.max_join_size
473
 
9223372036853727232     100
474
 
set @a=1, @b=2;
475
 
set @a=@b, @b=@a;
476
 
select @a, @b;
477
 
@a      @b
478
 
2       1
479
453
set @@global.global.key_buffer_size= 1;
480
454
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 'key_buffer_size= 1' at line 1
481
455
set GLOBAL global.key_buffer_size= 1;