Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion mysql-test/main/global_temporary_table.result
Original file line number Diff line number Diff line change
Expand Up @@ -1007,9 +1007,10 @@ create global temporary table t (t text);
set max_session_mem_used= 8192;
insert t values (0);
ERROR HY000: The MariaDB server is running with the --max-session-mem-used=8192 option so it cannot execute this statement
set max_session_mem_used= 32768;
lock table t write;
alter table t add z int;
ERROR HY000: The MariaDB server is running with the --max-session-mem-used=8192 option so it cannot execute this statement
ERROR HY000: The MariaDB server is running with the --max-session-mem-used=32768 option so it cannot execute this statement
set max_session_mem_used= default;
drop table t;
unlock tables;
Expand Down Expand Up @@ -1250,6 +1251,7 @@ c
set max_session_mem_used=8192;
truncate t;
ERROR HY000: The MariaDB server is running with the --max-session-mem-used=8192 option so it cannot execute this statement
set max_session_mem_used= 32768;
set max_session_mem_used= default;
unlock tables;
select * from t;
Expand Down
3 changes: 3 additions & 0 deletions mysql-test/main/global_temporary_table.test
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,9 @@ create global temporary table t (t text);
set max_session_mem_used= 8192;
--error ER_OPTION_PREVENTS_STATEMENT
insert t values (0);
set max_session_mem_used= 32768;
lock table t write;

--error ER_OPTION_PREVENTS_STATEMENT
alter table t add z int;
set max_session_mem_used= default;
Expand Down Expand Up @@ -1121,6 +1123,7 @@ select * from t;
set max_session_mem_used=8192;
--error ER_OPTION_PREVENTS_STATEMENT
truncate t;
set max_session_mem_used= 32768;
set max_session_mem_used= default;
unlock tables;
select * from t;
Expand Down
4 changes: 3 additions & 1 deletion mysql-test/suite/binlog/r/global_temporary_table.result
Original file line number Diff line number Diff line change
Expand Up @@ -1010,9 +1010,10 @@ create global temporary table t (t text);
set max_session_mem_used= 8192;
insert t values (0);
ERROR HY000: The MariaDB server is running with the --max-session-mem-used=8192 option so it cannot execute this statement
set max_session_mem_used= 32768;
lock table t write;
alter table t add z int;
ERROR HY000: The MariaDB server is running with the --max-session-mem-used=8192 option so it cannot execute this statement
ERROR HY000: The MariaDB server is running with the --max-session-mem-used=32768 option so it cannot execute this statement
set max_session_mem_used= default;
drop table t;
unlock tables;
Expand Down Expand Up @@ -1253,6 +1254,7 @@ c
set max_session_mem_used=8192;
truncate t;
ERROR HY000: The MariaDB server is running with the --max-session-mem-used=8192 option so it cannot execute this statement
set max_session_mem_used= 32768;
set max_session_mem_used= default;
unlock tables;
select * from t;
Expand Down
4 changes: 3 additions & 1 deletion mysql-test/suite/rpl/r/global_temporary_table.result
Original file line number Diff line number Diff line change
Expand Up @@ -1010,9 +1010,10 @@ create global temporary table t (t text);
set max_session_mem_used= 8192;
insert t values (0);
ERROR HY000: The MariaDB server is running with the --max-session-mem-used=8192 option so it cannot execute this statement
set max_session_mem_used= 32768;
lock table t write;
alter table t add z int;
ERROR HY000: The MariaDB server is running with the --max-session-mem-used=8192 option so it cannot execute this statement
ERROR HY000: The MariaDB server is running with the --max-session-mem-used=32768 option so it cannot execute this statement
set max_session_mem_used= default;
drop table t;
unlock tables;
Expand Down Expand Up @@ -1253,6 +1254,7 @@ c
set max_session_mem_used=8192;
truncate t;
ERROR HY000: The MariaDB server is running with the --max-session-mem-used=8192 option so it cannot execute this statement
set max_session_mem_used= 32768;
set max_session_mem_used= default;
unlock tables;
select * from t;
Expand Down
Loading