diff --git a/intergration/radon-test/r/set.result b/intergration/radon-test/r/set.result new file mode 100644 index 00000000..05927acf --- /dev/null +++ b/intergration/radon-test/r/set.result @@ -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; diff --git a/intergration/radon-test/t/set.test b/intergration/radon-test/t/set.test new file mode 100644 index 00000000..9cd94dc8 --- /dev/null +++ b/intergration/radon-test/t/set.test @@ -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; \ No newline at end of file