mirror of
https://github.com/MariaDB/server.git
synced 2025-05-07 04:01:59 +03:00
- 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).
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
'#--------------------FN_DYNVARS_093_01-------------------------#'
|
|
SET @start_value= @@global.myisam_data_pointer_size;
|
|
SET @@global.myisam_data_pointer_size = 2;
|
|
'connect (con1,localhost,root,,,,)'
|
|
'connection con1'
|
|
SELECT @@global.myisam_data_pointer_size;
|
|
@@global.myisam_data_pointer_size
|
|
2
|
|
SET @@global.myisam_data_pointer_size = 3;
|
|
'connect (con2,localhost,root,,,,)'
|
|
'connection con2'
|
|
SELECT @@global.myisam_data_pointer_size;
|
|
@@global.myisam_data_pointer_size
|
|
3
|
|
'#--------------------FN_DYNVARS_093_02-------------------------#'
|
|
'connection con1'
|
|
DROP PROCEDURE IF EXISTS sp_addRec;
|
|
DROP TABLE IF EXISTS t1;
|
|
CREATE PROCEDURE sp_addRec(IN count INT)
|
|
BEGIN
|
|
WHILE (count>0) DO
|
|
INSERT INTO t1 value(1);
|
|
SET count = count -1;
|
|
END WHILE;
|
|
END //
|
|
SET @@global.myisam_data_pointer_size = 2;
|
|
CREATE TABLE t1(a INT);
|
|
CALL sp_addRec(65535);
|
|
CALL sp_addRec(1);
|
|
ERROR HY000: The table 't1' is full
|
|
SELECT count(*) from t1;
|
|
count(*)
|
|
65535
|
|
'--Checking myisam_data_pointer_size with MAX_ROWS table option--'
|
|
SET @@global.myisam_data_pointer_size = 2;
|
|
DROP TABLE IF EXISTS t1;
|
|
CREATE TABLE t1(a INT)MAX_ROWS=70000;
|
|
CALL sp_addRec(65536);
|
|
SELECT count(*) from t1;
|
|
count(*)
|
|
65536
|
|
DROP PROCEDURE sp_addRec;
|
|
DROP TABLE t1;
|
|
SET @@global.myisam_data_pointer_size= @start_value;
|