Skip to content

Commit

Permalink
intergration: add set statement test cases #629
Browse files Browse the repository at this point in the history
[summary]
add intergration set.test
[test case]
N/A
[patch codecov]
N/A
  • Loading branch information
zhyass committed May 13, 2020
1 parent d646644 commit 5d9f61d
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 0 deletions.
47 changes: 47 additions & 0 deletions intergration/radon-test/r/set.result
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
SET SESSION sql_mode = 'TRADITIONAL';

SET LOCAL sql_mode = 'TRADITIONAL';

SET @@SESSION.sql_mode = 'TRADITIONAL';

SET @@LOCAL.sql_mode = 'TRADITIONAL';

SET @@sql_mode = 'TRADITIONAL';

SET sql_mode = 'TRADITIONAL';

set session autocommit = 0;

set session autocommit = on;

set charset latin1;

set CHARACTER SET gbk;

set names gbk;

set names 'latin1' collate latin1_german2_ci;

set @@SESSION.radon_streaming_fetch=true;

set @@SESSION.radon_streaming_fetch=false;

SET GLOBAL sort_buffer_size = 1000000, SESSION sort_buffer_size = 1000000;

SET @@GLOBAL.sort_buffer_size = 1000000, @@LOCAL.sort_buffer_size = 1000000;

SET GLOBAL max_connections = 1000, sort_buffer_size = 1000000;

set session transaction read only;

set global transaction read write;

set transaction isolation level repeatable read;

set global transaction isolation level read committed;

set transaction isolation level read uncommitted;

set transaction isolation level serializable;

set transaction isolation level serializable, read write;
24 changes: 24 additions & 0 deletions intergration/radon-test/t/set.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
SET SESSION sql_mode = 'TRADITIONAL';
SET LOCAL sql_mode = 'TRADITIONAL';
SET @@SESSION.sql_mode = 'TRADITIONAL';
SET @@LOCAL.sql_mode = 'TRADITIONAL';
SET @@sql_mode = 'TRADITIONAL';
SET sql_mode = 'TRADITIONAL';
set session autocommit = 0;
set session autocommit = on;
set charset latin1;
set CHARACTER SET gbk;
set names gbk;
set names 'latin1' collate latin1_german2_ci;
set @@SESSION.radon_streaming_fetch=true;
set @@SESSION.radon_streaming_fetch=false;
SET GLOBAL sort_buffer_size = 1000000, SESSION sort_buffer_size = 1000000;
SET @@GLOBAL.sort_buffer_size = 1000000, @@LOCAL.sort_buffer_size = 1000000;
SET GLOBAL max_connections = 1000, sort_buffer_size = 1000000;
set session transaction read only;
set global transaction read write;
set transaction isolation level repeatable read;
set global transaction isolation level read committed;
set transaction isolation level read uncommitted;
set transaction isolation level serializable;
set transaction isolation level serializable, read write;

0 comments on commit 5d9f61d

Please sign in to comment.