mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fixes for --embedded
This commit is contained in:
@ -1020,24 +1020,6 @@ t1 CREATE TABLE `t1` (
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
drop table t1;
|
||||
SET @@default_storage_engine=@save_dfs;
|
||||
SELECT @@MAX_STATEMENT_TIME;
|
||||
@@MAX_STATEMENT_TIME
|
||||
0.000000
|
||||
SET STATEMENT MAX_STATEMENT_TIME=2 FOR SELECT SLEEP(1);
|
||||
SLEEP(1)
|
||||
0
|
||||
SHOW STATUS LIKE "max_statement_time_exceeded";
|
||||
Variable_name Value
|
||||
Max_statement_time_exceeded 0
|
||||
SET STATEMENT MAX_STATEMENT_TIME=2 FOR SELECT SLEEP(3);
|
||||
SLEEP(3)
|
||||
1
|
||||
SHOW STATUS LIKE "max_statement_time_exceeded";
|
||||
Variable_name Value
|
||||
Max_statement_time_exceeded 1
|
||||
SELECT @@MAX_STATEMENT_TIME;
|
||||
@@MAX_STATEMENT_TIME
|
||||
0.000000
|
||||
SET STATEMENT keycache1.key_buffer_size=1024 FOR SELECT 1;
|
||||
ERROR HY000: Variable 'key_buffer_size' is a GLOBAL variable and should be set with SET GLOBAL
|
||||
set @save_general_log=@@global.general_log;
|
||||
@ -1064,10 +1046,6 @@ set statement rand_seed2=default for select 1;
|
||||
ERROR 42000: The system variable rand_seed2 cannot be set in SET STATEMENT.
|
||||
set statement skip_replication=default for select 1;
|
||||
ERROR 42000: The system variable skip_replication cannot be set in SET STATEMENT.
|
||||
set statement default_master_connection=default for select 1;
|
||||
ERROR 42000: The system variable default_master_connection cannot be set in SET STATEMENT.
|
||||
set statement default_master_connection=default for select 1;
|
||||
ERROR 42000: The system variable default_master_connection cannot be set in SET STATEMENT.
|
||||
set statement last_insert_id=1 for select 1;
|
||||
ERROR 42000: The system variable last_insert_id cannot be set in SET STATEMENT.
|
||||
set statement sql_log_off=default for select 1;
|
||||
|
Reference in New Issue
Block a user