mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
1fc5777320
- Updated slow_query_log_file_basic and general_log_file basis instead of the func version as the func version run good but the basic versions fail. - Sent innodb.test to dev@innodb.com. - variables.test has differences probably due to a bug in mtr or in the SET statement (see bug#39369). - general_log_file_basic.test and slow_query_log_file_bsaic.test have differences, which might be produced by the new mtr (see bug#38124).
41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
** Setup **
|
|
|
|
SET @start_value = @@global.query_prealloc_size;
|
|
CREATE TABLE t1 (id INT AUTO_INCREMENT PRIMARY KEY, val TEXT(200));
|
|
INSERT INTO t1 VALUES(NULL,'a');
|
|
INSERT INTO t1 VALUES(NULL,'b');
|
|
INSERT INTO t1 VALUES(NULL,'c');
|
|
INSERT INTO t1 VALUES(NULL,'d');
|
|
SELECT * FROM t1 ORDER BY val;
|
|
id val
|
|
1 a
|
|
2 b
|
|
3 c
|
|
4 d
|
|
SET SESSION query_prealloc_size = 8192;
|
|
'#----------------------------FN_DYNVARS_137_05-----------------#'
|
|
SET GLOBAL query_prealloc_size = 8192;
|
|
SELECT @@SESSION.query_prealloc_size;
|
|
@@SESSION.query_prealloc_size
|
|
8192
|
|
Expected Value : 8192;
|
|
SET SESSION query_prealloc_size = 16384;
|
|
SELECT @@SESSION.query_prealloc_size;
|
|
@@SESSION.query_prealloc_size
|
|
8192
|
|
Expected Value : 8192;
|
|
SET SESSION query_prealloc_size = 8192;
|
|
SELECT @@SESSION.query_prealloc_size;
|
|
@@SESSION.query_prealloc_size
|
|
16384
|
|
Expected Value : 16384;
|
|
SELECT @@SESSION.query_prealloc_size;
|
|
@@SESSION.query_prealloc_size
|
|
8192
|
|
Expected Value : 8192;
|
|
SELECT @@GLOBAL.query_prealloc_size;
|
|
@@GLOBAL.query_prealloc_size
|
|
8192
|
|
Expected Value : 8192;
|
|
DROP TABLE t1;
|
|
SET @@global.query_prealloc_size = @start_value;
|