Updated some test result for 32 bit systems
This commit is contained in:
parent
9f909e546e
commit
d1b1f8c9f2
55
mysql-test/suite/maria/maria-64bit.result
Normal file
55
mysql-test/suite/maria/maria-64bit.result
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
set session storage_engine=aria;
|
||||||
|
#
|
||||||
|
# BUG#47444 - --myisam_repair_threads > 1 can result in all index
|
||||||
|
# cardinalities=1
|
||||||
|
#
|
||||||
|
SET aria_repair_threads=2;
|
||||||
|
SET aria_sort_buffer_size=16384;
|
||||||
|
CREATE TABLE t1(a CHAR(255), KEY(a), KEY(a), KEY(a));
|
||||||
|
Warnings:
|
||||||
|
Note 1831 Duplicate index `a_2`. This is deprecated and will be disallowed in a future release
|
||||||
|
Note 1831 Duplicate index `a_3`. This is deprecated and will be disallowed in a future release
|
||||||
|
INSERT INTO t1 VALUES (0),(1),(2),(3),(4),(5),(6),(7),(8),(9),(0),(1),(2),(3);
|
||||||
|
REPAIR TABLE t1;
|
||||||
|
Table Op Msg_type Msg_text
|
||||||
|
test.t1 repair status OK
|
||||||
|
SELECT CARDINALITY FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA='test' AND TABLE_NAME='t1';
|
||||||
|
CARDINALITY
|
||||||
|
14
|
||||||
|
14
|
||||||
|
14
|
||||||
|
CHECK TABLE t1;
|
||||||
|
Table Op Msg_type Msg_text
|
||||||
|
test.t1 check status OK
|
||||||
|
DROP TABLE t1;
|
||||||
|
SET aria_sort_buffer_size=@@global.aria_sort_buffer_size;
|
||||||
|
SET aria_repair_threads=@@global.aria_repair_threads;
|
||||||
|
#
|
||||||
|
# BUG#47073 - valgrind errs, corruption,failed repair of partition,
|
||||||
|
# low myisam_sort_buffer_size
|
||||||
|
#
|
||||||
|
CREATE TABLE t1(a INT, b CHAR(10), KEY(a), KEY(b));
|
||||||
|
INSERT INTO t1 select seq,'0' from seq_1_to_65536;
|
||||||
|
SET aria_sort_buffer_size=16384;
|
||||||
|
REPAIR TABLE t1;
|
||||||
|
Table Op Msg_type Msg_text
|
||||||
|
test.t1 repair error aria_sort_buffer_size is too small. X
|
||||||
|
test.t1 repair error Create index by sort failed
|
||||||
|
test.t1 repair info Retrying repair with keycache
|
||||||
|
test.t1 repair status OK
|
||||||
|
CHECK TABLE t1;
|
||||||
|
Table Op Msg_type Msg_text
|
||||||
|
test.t1 check status OK
|
||||||
|
SET aria_repair_threads=2;
|
||||||
|
REPAIR TABLE t1;
|
||||||
|
Table Op Msg_type Msg_text
|
||||||
|
test.t1 repair error aria_sort_buffer_size is too small. X
|
||||||
|
test.t1 repair error Create index by sort failed
|
||||||
|
test.t1 repair info Retrying repair with keycache
|
||||||
|
test.t1 repair status OK
|
||||||
|
CHECK TABLE t1;
|
||||||
|
Table Op Msg_type Msg_text
|
||||||
|
test.t1 check status OK
|
||||||
|
SET aria_repair_threads=@@global.aria_repair_threads;
|
||||||
|
SET aria_sort_buffer_size=@@global.aria_sort_buffer_size;
|
||||||
|
DROP TABLE t1;
|
41
mysql-test/suite/maria/maria-64bit.test
Normal file
41
mysql-test/suite/maria/maria-64bit.test
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
--source include/have_maria.inc
|
||||||
|
--source include/have_sequence.inc
|
||||||
|
--source include/have_64bit.inc
|
||||||
|
|
||||||
|
set session storage_engine=aria;
|
||||||
|
|
||||||
|
--echo #
|
||||||
|
--echo # BUG#47444 - --myisam_repair_threads > 1 can result in all index
|
||||||
|
--echo # cardinalities=1
|
||||||
|
--echo #
|
||||||
|
|
||||||
|
SET aria_repair_threads=2;
|
||||||
|
SET aria_sort_buffer_size=16384;
|
||||||
|
CREATE TABLE t1(a CHAR(255), KEY(a), KEY(a), KEY(a));
|
||||||
|
INSERT INTO t1 VALUES (0),(1),(2),(3),(4),(5),(6),(7),(8),(9),(0),(1),(2),(3);
|
||||||
|
--replace_regex /Current aria_sort_buffer_size.*/X/
|
||||||
|
REPAIR TABLE t1;
|
||||||
|
SELECT CARDINALITY FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA='test' AND TABLE_NAME='t1';
|
||||||
|
CHECK TABLE t1;
|
||||||
|
DROP TABLE t1;
|
||||||
|
SET aria_sort_buffer_size=@@global.aria_sort_buffer_size;
|
||||||
|
SET aria_repair_threads=@@global.aria_repair_threads;
|
||||||
|
|
||||||
|
--echo #
|
||||||
|
--echo # BUG#47073 - valgrind errs, corruption,failed repair of partition,
|
||||||
|
--echo # low myisam_sort_buffer_size
|
||||||
|
--echo #
|
||||||
|
CREATE TABLE t1(a INT, b CHAR(10), KEY(a), KEY(b));
|
||||||
|
INSERT INTO t1 select seq,'0' from seq_1_to_65536;
|
||||||
|
SET aria_sort_buffer_size=16384;
|
||||||
|
--replace_regex /Current aria_sort_buffer_size.*/X/
|
||||||
|
REPAIR TABLE t1;
|
||||||
|
CHECK TABLE t1;
|
||||||
|
SET aria_repair_threads=2;
|
||||||
|
# May report different values depending on threads activity.
|
||||||
|
--replace_regex /Current aria_sort_buffer_size.*/X/
|
||||||
|
REPAIR TABLE t1;
|
||||||
|
CHECK TABLE t1;
|
||||||
|
SET aria_repair_threads=@@global.aria_repair_threads;
|
||||||
|
SET aria_sort_buffer_size=@@global.aria_sort_buffer_size;
|
||||||
|
DROP TABLE t1;
|
@ -2809,60 +2809,6 @@ DROP TABLE t1;
|
|||||||
#
|
#
|
||||||
# End of 5.5 tests
|
# End of 5.5 tests
|
||||||
#
|
#
|
||||||
#
|
|
||||||
# BUG#47444 - --myisam_repair_threads > 1 can result in all index
|
|
||||||
# cardinalities=1
|
|
||||||
#
|
|
||||||
SET aria_repair_threads=2;
|
|
||||||
SET aria_sort_buffer_size=16384;
|
|
||||||
CREATE TABLE t1(a CHAR(255), KEY(a), KEY(a), KEY(a));
|
|
||||||
Warnings:
|
|
||||||
Note 1831 Duplicate index `a_2`. This is deprecated and will be disallowed in a future release
|
|
||||||
Note 1831 Duplicate index `a_3`. This is deprecated and will be disallowed in a future release
|
|
||||||
INSERT INTO t1 VALUES (0),(1),(2),(3),(4),(5),(6),(7),(8),(9),(0),(1),(2),(3);
|
|
||||||
REPAIR TABLE t1;
|
|
||||||
Table Op Msg_type Msg_text
|
|
||||||
test.t1 repair status OK
|
|
||||||
SELECT CARDINALITY FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA='test' AND TABLE_NAME='t1';
|
|
||||||
CARDINALITY
|
|
||||||
14
|
|
||||||
14
|
|
||||||
14
|
|
||||||
CHECK TABLE t1;
|
|
||||||
Table Op Msg_type Msg_text
|
|
||||||
test.t1 check status OK
|
|
||||||
DROP TABLE t1;
|
|
||||||
SET aria_sort_buffer_size=@@global.aria_sort_buffer_size;
|
|
||||||
SET aria_repair_threads=@@global.aria_repair_threads;
|
|
||||||
#
|
|
||||||
# BUG#47073 - valgrind errs, corruption,failed repair of partition,
|
|
||||||
# low myisam_sort_buffer_size
|
|
||||||
#
|
|
||||||
CREATE TABLE t1(a INT, b CHAR(10), KEY(a), KEY(b));
|
|
||||||
INSERT INTO t1 select seq,'0' from seq_1_to_65536;
|
|
||||||
SET aria_sort_buffer_size=16384;
|
|
||||||
REPAIR TABLE t1;
|
|
||||||
Table Op Msg_type Msg_text
|
|
||||||
test.t1 repair error aria_sort_buffer_size is too small. X
|
|
||||||
test.t1 repair error Create index by sort failed
|
|
||||||
test.t1 repair info Retrying repair with keycache
|
|
||||||
test.t1 repair status OK
|
|
||||||
CHECK TABLE t1;
|
|
||||||
Table Op Msg_type Msg_text
|
|
||||||
test.t1 check status OK
|
|
||||||
SET aria_repair_threads=2;
|
|
||||||
REPAIR TABLE t1;
|
|
||||||
Table Op Msg_type Msg_text
|
|
||||||
test.t1 repair error aria_sort_buffer_size is too small. X
|
|
||||||
test.t1 repair error Create index by sort failed
|
|
||||||
test.t1 repair info Retrying repair with keycache
|
|
||||||
test.t1 repair status OK
|
|
||||||
CHECK TABLE t1;
|
|
||||||
Table Op Msg_type Msg_text
|
|
||||||
test.t1 check status OK
|
|
||||||
SET aria_repair_threads=@@global.aria_repair_threads;
|
|
||||||
SET aria_sort_buffer_size=@@global.aria_sort_buffer_size;
|
|
||||||
DROP TABLE t1;
|
|
||||||
CREATE TABLE t1(a INT, b CHAR(10), KEY(a), KEY(b));
|
CREATE TABLE t1(a INT, b CHAR(10), KEY(a), KEY(b));
|
||||||
INSERT INTO t1 VALUES(1,'0'),(2,'0'),(3,'0'),(4,'0'),(5,'0'),
|
INSERT INTO t1 VALUES(1,'0'),(2,'0'),(3,'0'),(4,'0'),(5,'0'),
|
||||||
(6,'0'),(7,'0');
|
(6,'0'),(7,'0');
|
||||||
|
@ -2030,41 +2030,6 @@ DROP TABLE t1;
|
|||||||
--echo # End of 5.5 tests
|
--echo # End of 5.5 tests
|
||||||
--echo #
|
--echo #
|
||||||
|
|
||||||
--echo #
|
|
||||||
--echo # BUG#47444 - --myisam_repair_threads > 1 can result in all index
|
|
||||||
--echo # cardinalities=1
|
|
||||||
--echo #
|
|
||||||
SET aria_repair_threads=2;
|
|
||||||
SET aria_sort_buffer_size=16384;
|
|
||||||
CREATE TABLE t1(a CHAR(255), KEY(a), KEY(a), KEY(a));
|
|
||||||
INSERT INTO t1 VALUES (0),(1),(2),(3),(4),(5),(6),(7),(8),(9),(0),(1),(2),(3);
|
|
||||||
--replace_regex /Current aria_sort_buffer_size.*/X/
|
|
||||||
REPAIR TABLE t1;
|
|
||||||
SELECT CARDINALITY FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA='test' AND TABLE_NAME='t1';
|
|
||||||
CHECK TABLE t1;
|
|
||||||
DROP TABLE t1;
|
|
||||||
SET aria_sort_buffer_size=@@global.aria_sort_buffer_size;
|
|
||||||
SET aria_repair_threads=@@global.aria_repair_threads;
|
|
||||||
|
|
||||||
--echo #
|
|
||||||
--echo # BUG#47073 - valgrind errs, corruption,failed repair of partition,
|
|
||||||
--echo # low myisam_sort_buffer_size
|
|
||||||
--echo #
|
|
||||||
CREATE TABLE t1(a INT, b CHAR(10), KEY(a), KEY(b));
|
|
||||||
INSERT INTO t1 select seq,'0' from seq_1_to_65536;
|
|
||||||
SET aria_sort_buffer_size=16384;
|
|
||||||
--replace_regex /Current aria_sort_buffer_size.*/X/
|
|
||||||
REPAIR TABLE t1;
|
|
||||||
CHECK TABLE t1;
|
|
||||||
SET aria_repair_threads=2;
|
|
||||||
# May report different values depending on threads activity.
|
|
||||||
--replace_regex /Current aria_sort_buffer_size.*/X/
|
|
||||||
REPAIR TABLE t1;
|
|
||||||
CHECK TABLE t1;
|
|
||||||
SET aria_repair_threads=@@global.aria_repair_threads;
|
|
||||||
SET aria_sort_buffer_size=@@global.aria_sort_buffer_size;
|
|
||||||
DROP TABLE t1;
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Check FLUSH FOR EXPORT
|
# Check FLUSH FOR EXPORT
|
||||||
#
|
#
|
||||||
|
@ -26,10 +26,10 @@ Warning 1292 Truncated incorrect myisam_sort_buffer_size value: '4'
|
|||||||
SELECT @@global.myisam_sort_buffer_size ;
|
SELECT @@global.myisam_sort_buffer_size ;
|
||||||
@@global.myisam_sort_buffer_size
|
@@global.myisam_sort_buffer_size
|
||||||
4096
|
4096
|
||||||
SET @@global.myisam_sort_buffer_size = 4294967295;
|
SET @@global.myisam_sort_buffer_size = 268435455;
|
||||||
SELECT @@global.myisam_sort_buffer_size ;
|
SELECT @@global.myisam_sort_buffer_size ;
|
||||||
@@global.myisam_sort_buffer_size
|
@@global.myisam_sort_buffer_size
|
||||||
4294967295
|
268435455
|
||||||
SET @@global.myisam_sort_buffer_size = 655354;
|
SET @@global.myisam_sort_buffer_size = 655354;
|
||||||
SELECT @@global.myisam_sort_buffer_size ;
|
SELECT @@global.myisam_sort_buffer_size ;
|
||||||
@@global.myisam_sort_buffer_size
|
@@global.myisam_sort_buffer_size
|
||||||
@ -41,10 +41,10 @@ Warning 1292 Truncated incorrect myisam_sort_buffer_size value: '4'
|
|||||||
SELECT @@session.myisam_sort_buffer_size ;
|
SELECT @@session.myisam_sort_buffer_size ;
|
||||||
@@session.myisam_sort_buffer_size
|
@@session.myisam_sort_buffer_size
|
||||||
4096
|
4096
|
||||||
SET @@session.myisam_sort_buffer_size = 4294967295;
|
SET @@session.myisam_sort_buffer_size = 268435455;
|
||||||
SELECT @@session.myisam_sort_buffer_size ;
|
SELECT @@session.myisam_sort_buffer_size ;
|
||||||
@@session.myisam_sort_buffer_size
|
@@session.myisam_sort_buffer_size
|
||||||
4294967295
|
268435455
|
||||||
SET @@session.myisam_sort_buffer_size = 655345;
|
SET @@session.myisam_sort_buffer_size = 655345;
|
||||||
SELECT @@session.myisam_sort_buffer_size ;
|
SELECT @@session.myisam_sort_buffer_size ;
|
||||||
@@session.myisam_sort_buffer_size
|
@@session.myisam_sort_buffer_size
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
--- sysvars_aria.result 2015-01-09 11:49:32.000000000 +0100
|
--- suite/sys_vars/r/sysvars_aria.result 2023-05-02 23:37:10.180795104 +0300
|
||||||
+++ sysvars_aria,32bit.result 2015-01-09 17:30:11.000000000 +0100
|
+++ suite/sys_vars/r/sysvars_aria,32bit.reject 2023-05-24 15:11:33.621611216 +0300
|
||||||
@@ -7,7 +7,7 @@
|
@@ -5,7 +5,7 @@
|
||||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
SESSION_VALUE NULL
|
||||||
DEFAULT_VALUE 8192
|
DEFAULT_VALUE 8192
|
||||||
VARIABLE_SCOPE GLOBAL
|
VARIABLE_SCOPE GLOBAL
|
||||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||||
+VARIABLE_TYPE INT UNSIGNED
|
+VARIABLE_TYPE INT UNSIGNED
|
||||||
VARIABLE_COMMENT Block size to be used for Aria index pages.
|
VARIABLE_COMMENT Block size to be used for Aria index pages.
|
||||||
NUMERIC_MIN_VALUE 1024
|
NUMERIC_MIN_VALUE 4096
|
||||||
NUMERIC_MAX_VALUE 32768
|
NUMERIC_MAX_VALUE 32768
|
||||||
@@ -21,7 +21,7 @@
|
@@ -17,7 +17,7 @@
|
||||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
SESSION_VALUE NULL
|
||||||
DEFAULT_VALUE 30
|
DEFAULT_VALUE 30
|
||||||
VARIABLE_SCOPE GLOBAL
|
VARIABLE_SCOPE GLOBAL
|
||||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||||
@ -18,8 +18,8 @@
|
|||||||
VARIABLE_COMMENT Interval between tries to do an automatic checkpoints. In seconds; 0 means 'no automatic checkpoints' which makes sense only for testing.
|
VARIABLE_COMMENT Interval between tries to do an automatic checkpoints. In seconds; 0 means 'no automatic checkpoints' which makes sense only for testing.
|
||||||
NUMERIC_MIN_VALUE 0
|
NUMERIC_MIN_VALUE 0
|
||||||
NUMERIC_MAX_VALUE 4294967295
|
NUMERIC_MAX_VALUE 4294967295
|
||||||
@@ -35,7 +35,7 @@
|
@@ -29,7 +29,7 @@
|
||||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
SESSION_VALUE NULL
|
||||||
DEFAULT_VALUE 1048576
|
DEFAULT_VALUE 1048576
|
||||||
VARIABLE_SCOPE GLOBAL
|
VARIABLE_SCOPE GLOBAL
|
||||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||||
@ -27,8 +27,8 @@
|
|||||||
VARIABLE_COMMENT Number of bytes that the transaction log has to grow between checkpoints before a new checkpoint is written to the log.
|
VARIABLE_COMMENT Number of bytes that the transaction log has to grow between checkpoints before a new checkpoint is written to the log.
|
||||||
NUMERIC_MIN_VALUE 0
|
NUMERIC_MIN_VALUE 0
|
||||||
NUMERIC_MAX_VALUE 4294967295
|
NUMERIC_MAX_VALUE 4294967295
|
||||||
@@ -63,7 +63,7 @@
|
@@ -53,7 +53,7 @@
|
||||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
SESSION_VALUE NULL
|
||||||
DEFAULT_VALUE 0
|
DEFAULT_VALUE 0
|
||||||
VARIABLE_SCOPE GLOBAL
|
VARIABLE_SCOPE GLOBAL
|
||||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||||
@ -36,8 +36,8 @@
|
|||||||
VARIABLE_COMMENT Number of consecutive log recovery failures after which logs will be automatically deleted to cure the problem; 0 (the default) disables the feature.
|
VARIABLE_COMMENT Number of consecutive log recovery failures after which logs will be automatically deleted to cure the problem; 0 (the default) disables the feature.
|
||||||
NUMERIC_MIN_VALUE 0
|
NUMERIC_MIN_VALUE 0
|
||||||
NUMERIC_MAX_VALUE 255
|
NUMERIC_MAX_VALUE 255
|
||||||
@@ -91,7 +91,7 @@
|
@@ -77,7 +77,7 @@
|
||||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
SESSION_VALUE NULL
|
||||||
DEFAULT_VALUE 0
|
DEFAULT_VALUE 0
|
||||||
VARIABLE_SCOPE GLOBAL
|
VARIABLE_SCOPE GLOBAL
|
||||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||||
@ -45,8 +45,8 @@
|
|||||||
VARIABLE_COMMENT Interval between commite in microseconds (1/1000000c). 0 stands for no waiting for other threads to come and do a commit in "hard" mode and no sync()/commit at all in "soft" mode. Option has only an effect if aria_group_commit is used
|
VARIABLE_COMMENT Interval between commite in microseconds (1/1000000c). 0 stands for no waiting for other threads to come and do a commit in "hard" mode and no sync()/commit at all in "soft" mode. Option has only an effect if aria_group_commit is used
|
||||||
NUMERIC_MIN_VALUE 0
|
NUMERIC_MIN_VALUE 0
|
||||||
NUMERIC_MAX_VALUE 4294967295
|
NUMERIC_MAX_VALUE 4294967295
|
||||||
@@ -105,7 +105,7 @@
|
@@ -101,7 +101,7 @@
|
||||||
GLOBAL_VALUE_ORIGIN CONFIG
|
SESSION_VALUE NULL
|
||||||
DEFAULT_VALUE 1073741824
|
DEFAULT_VALUE 1073741824
|
||||||
VARIABLE_SCOPE GLOBAL
|
VARIABLE_SCOPE GLOBAL
|
||||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||||
@ -54,8 +54,8 @@
|
|||||||
VARIABLE_COMMENT Limit for transaction log size
|
VARIABLE_COMMENT Limit for transaction log size
|
||||||
NUMERIC_MIN_VALUE 8388608
|
NUMERIC_MIN_VALUE 8388608
|
||||||
NUMERIC_MAX_VALUE 4294967295
|
NUMERIC_MAX_VALUE 4294967295
|
||||||
@@ -147,10 +147,10 @@
|
@@ -137,10 +137,10 @@
|
||||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
SESSION_VALUE NULL
|
||||||
DEFAULT_VALUE 300
|
DEFAULT_VALUE 300
|
||||||
VARIABLE_SCOPE GLOBAL
|
VARIABLE_SCOPE GLOBAL
|
||||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||||
@ -67,8 +67,8 @@
|
|||||||
NUMERIC_BLOCK_SIZE 100
|
NUMERIC_BLOCK_SIZE 100
|
||||||
ENUM_VALUE_LIST NULL
|
ENUM_VALUE_LIST NULL
|
||||||
READ_ONLY NO
|
READ_ONLY NO
|
||||||
@@ -175,7 +175,7 @@
|
@@ -161,7 +161,7 @@
|
||||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
SESSION_VALUE NULL
|
||||||
DEFAULT_VALUE 100
|
DEFAULT_VALUE 100
|
||||||
VARIABLE_SCOPE GLOBAL
|
VARIABLE_SCOPE GLOBAL
|
||||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||||
@ -76,8 +76,8 @@
|
|||||||
VARIABLE_COMMENT The minimum percentage of warm blocks in key cache
|
VARIABLE_COMMENT The minimum percentage of warm blocks in key cache
|
||||||
NUMERIC_MIN_VALUE 1
|
NUMERIC_MIN_VALUE 1
|
||||||
NUMERIC_MAX_VALUE 100
|
NUMERIC_MAX_VALUE 100
|
||||||
@@ -189,7 +189,7 @@
|
@@ -173,7 +173,7 @@
|
||||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
SESSION_VALUE NULL
|
||||||
DEFAULT_VALUE 512
|
DEFAULT_VALUE 512
|
||||||
VARIABLE_SCOPE GLOBAL
|
VARIABLE_SCOPE GLOBAL
|
||||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||||
@ -85,8 +85,8 @@
|
|||||||
VARIABLE_COMMENT Number of hash buckets for open and changed files. If you have a lot of Aria files open you should increase this for faster flush of changes. A good value is probably 1/10 of number of possible open Aria files.
|
VARIABLE_COMMENT Number of hash buckets for open and changed files. If you have a lot of Aria files open you should increase this for faster flush of changes. A good value is probably 1/10 of number of possible open Aria files.
|
||||||
NUMERIC_MIN_VALUE 128
|
NUMERIC_MIN_VALUE 128
|
||||||
NUMERIC_MAX_VALUE 16384
|
NUMERIC_MAX_VALUE 16384
|
||||||
@@ -231,7 +231,7 @@
|
@@ -209,7 +209,7 @@
|
||||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
SESSION_VALUE 1
|
||||||
DEFAULT_VALUE 1
|
DEFAULT_VALUE 1
|
||||||
VARIABLE_SCOPE SESSION
|
VARIABLE_SCOPE SESSION
|
||||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||||
@ -94,12 +94,12 @@
|
|||||||
VARIABLE_COMMENT Number of threads to use when repairing Aria tables. The value of 1 disables parallel repair.
|
VARIABLE_COMMENT Number of threads to use when repairing Aria tables. The value of 1 disables parallel repair.
|
||||||
NUMERIC_MIN_VALUE 1
|
NUMERIC_MIN_VALUE 1
|
||||||
NUMERIC_MAX_VALUE 128
|
NUMERIC_MAX_VALUE 128
|
||||||
@@ -248,7 +248,7 @@
|
@@ -224,7 +224,7 @@
|
||||||
VARIABLE_TYPE BIGINT UNSIGNED
|
VARIABLE_TYPE BIGINT UNSIGNED
|
||||||
VARIABLE_COMMENT The buffer that is allocated when sorting the index when doing a REPAIR or when creating indexes with CREATE INDEX or ALTER TABLE.
|
VARIABLE_COMMENT The buffer that is allocated when sorting the index when doing a REPAIR or when creating indexes with CREATE INDEX or ALTER TABLE.
|
||||||
NUMERIC_MIN_VALUE 4096
|
NUMERIC_MIN_VALUE 16376
|
||||||
-NUMERIC_MAX_VALUE 18446744073709551615
|
-NUMERIC_MAX_VALUE 1152921504606846975
|
||||||
+NUMERIC_MAX_VALUE 4294967295
|
+NUMERIC_MAX_VALUE 268435455
|
||||||
NUMERIC_BLOCK_SIZE 1
|
NUMERIC_BLOCK_SIZE 1
|
||||||
ENUM_VALUE_LIST NULL
|
ENUM_VALUE_LIST NULL
|
||||||
READ_ONLY NO
|
READ_ONLY NO
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -39,8 +39,7 @@ select @@global.aria_sort_buffer_size;
|
|||||||
--disable_warnings
|
--disable_warnings
|
||||||
set session aria_sort_buffer_size=cast(-1 as unsigned int);
|
set session aria_sort_buffer_size=cast(-1 as unsigned int);
|
||||||
--enable_warnings
|
--enable_warnings
|
||||||
--replace_result 4294967295 18446744073709551615
|
--replace_result 4294967295 18446744073709551615 268435455 1152921504606846975
|
||||||
select @@session.aria_sort_buffer_size;
|
select @@session.aria_sort_buffer_size;
|
||||||
|
|
||||||
SET @@global.aria_sort_buffer_size = @start_global_value;
|
SET @@global.aria_sort_buffer_size = @start_global_value;
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ SELECT @@session.myisam_sort_buffer_size = @default_myisam_sort_buffer_size;
|
|||||||
SET @@global.myisam_sort_buffer_size = 4;
|
SET @@global.myisam_sort_buffer_size = 4;
|
||||||
SELECT @@global.myisam_sort_buffer_size ;
|
SELECT @@global.myisam_sort_buffer_size ;
|
||||||
|
|
||||||
SET @@global.myisam_sort_buffer_size = 4294967295;
|
SET @@global.myisam_sort_buffer_size = 268435455;
|
||||||
SELECT @@global.myisam_sort_buffer_size ;
|
SELECT @@global.myisam_sort_buffer_size ;
|
||||||
|
|
||||||
SET @@global.myisam_sort_buffer_size = 655354;
|
SET @@global.myisam_sort_buffer_size = 655354;
|
||||||
@ -76,7 +76,7 @@ SELECT @@global.myisam_sort_buffer_size ;
|
|||||||
SET @@session.myisam_sort_buffer_size = 4;
|
SET @@session.myisam_sort_buffer_size = 4;
|
||||||
SELECT @@session.myisam_sort_buffer_size ;
|
SELECT @@session.myisam_sort_buffer_size ;
|
||||||
|
|
||||||
SET @@session.myisam_sort_buffer_size = 4294967295;
|
SET @@session.myisam_sort_buffer_size = 268435455;
|
||||||
SELECT @@session.myisam_sort_buffer_size ;
|
SELECT @@session.myisam_sort_buffer_size ;
|
||||||
|
|
||||||
SET @@session.myisam_sort_buffer_size = 655345;
|
SET @@session.myisam_sort_buffer_size = 655345;
|
||||||
@ -96,33 +96,32 @@ SELECT @@global.myisam_sort_buffer_size ;
|
|||||||
--disable_warnings
|
--disable_warnings
|
||||||
SET @@global.myisam_sort_buffer_size = 429496729533;
|
SET @@global.myisam_sort_buffer_size = 429496729533;
|
||||||
--enable_warnings
|
--enable_warnings
|
||||||
--replace_result 429496729533 4294967295
|
--replace_result 429496729533 4294967295 268435455 4294967295
|
||||||
SELECT @@global.myisam_sort_buffer_size ;
|
SELECT @@global.myisam_sort_buffer_size ;
|
||||||
|
|
||||||
|
|
||||||
--Error ER_WRONG_TYPE_FOR_VAR
|
--Error ER_WRONG_TYPE_FOR_VAR
|
||||||
SET @@global.myisam_sort_buffer_size = 65530.34;
|
SET @@global.myisam_sort_buffer_size = 65530.34;
|
||||||
--replace_result 429496729533 4294967295
|
--replace_result 429496729533 4294967295 268435455 4294967295
|
||||||
SELECT @@global.myisam_sort_buffer_size ;
|
SELECT @@global.myisam_sort_buffer_size ;
|
||||||
|
|
||||||
--Error ER_WRONG_TYPE_FOR_VAR
|
--Error ER_WRONG_TYPE_FOR_VAR
|
||||||
SET @@global.myisam_sort_buffer_size = test;
|
SET @@global.myisam_sort_buffer_size = test;
|
||||||
--replace_result 429496729533 4294967295
|
--replace_result 429496729533 4294967295 268435455 4294967295
|
||||||
SELECT @@global.myisam_sort_buffer_size ;
|
SELECT @@global.myisam_sort_buffer_size ;
|
||||||
|
|
||||||
--Error ER_WRONG_TYPE_FOR_VAR
|
--Error ER_WRONG_TYPE_FOR_VAR
|
||||||
SET @@global.myisam_sort_buffer_size = "test";
|
SET @@global.myisam_sort_buffer_size = "test";
|
||||||
--replace_result 429496729533 4294967295
|
--replace_result 429496729533 4294967295 268435455 4294967295
|
||||||
SELECT @@global.myisam_sort_buffer_size ;
|
SELECT @@global.myisam_sort_buffer_size ;
|
||||||
|
|
||||||
--Error ER_WRONG_TYPE_FOR_VAR
|
--Error ER_WRONG_TYPE_FOR_VAR
|
||||||
SET @@global.myisam_sort_buffer_size = 'test';
|
SET @@global.myisam_sort_buffer_size = 'test';
|
||||||
--replace_result 429496729533 4294967295
|
--replace_result 429496729533 4294967295 268435455 4294967295
|
||||||
SELECT @@global.myisam_sort_buffer_size ;
|
SELECT @@global.myisam_sort_buffer_size ;
|
||||||
|
|
||||||
--Error ER_WRONG_TYPE_FOR_VAR
|
--Error ER_WRONG_TYPE_FOR_VAR
|
||||||
SET @@global.myisam_sort_buffer_size = ON;
|
SET @@global.myisam_sort_buffer_size = ON;
|
||||||
--replace_result 429496729533 4294967295
|
--replace_result 429496729533 4294967295 268435455 4294967295
|
||||||
SELECT @@global.myisam_sort_buffer_size ;
|
SELECT @@global.myisam_sort_buffer_size ;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user