Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
142 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
SET SESSION aria_repair_threads=128; | ||
SET SESSION aria_sort_buffer_size=CAST(-1 AS UNSIGNED INT); | ||
Warnings: | ||
Note 1105 Cast to unsigned converted negative integer to it's positive complement | ||
Note 1105 Cast to unsigned converted negative integer to it's positive complement | ||
Warning 1292 Truncated incorrect aria_sort_buffer_size value: '18446744073709551615' | ||
SET SESSION tmp_table_size=65535; | ||
CREATE TABLE t1 (a VARCHAR(255)); | ||
insert into t1 (a) select seq from seq_1_to_1000; | ||
UPDATE t1 SET a=( (SELECT MAX(a) FROM t1)); | ||
DROP TABLE t1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--source include/have_sequence.inc | ||
|
||
# | ||
# | ||
# MDEV-24750 Various corruptions caused by Aria subsystem asking system call | ||
# to overwrite memory that it does not own (InnoDB stacks) | ||
|
||
SET SESSION aria_repair_threads=128; | ||
SET SESSION aria_sort_buffer_size=CAST(-1 AS UNSIGNED INT); | ||
|
||
SET SESSION tmp_table_size=65535; | ||
CREATE TABLE t1 (a VARCHAR(255)); | ||
insert into t1 (a) select seq from seq_1_to_1000; | ||
UPDATE t1 SET a=( (SELECT MAX(a) FROM t1)); | ||
DROP TABLE t1; |
9 changes: 9 additions & 0 deletions
9
mysql-test/suite/sys_vars/r/aria_sort_buffer_size_basic,32bit.rdiff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- suite/sys_vars/r/aria_sort_buffer_size_basic.result 2021-02-02 02:58:55.686921205 +0200 | ||
+++ suite/sys_vars/r/aria_sort_buffer_size_basic.reject 2021-02-02 11:02:12.361178360 +0200 | ||
@@ -44,5 +44,5 @@ | ||
set session aria_sort_buffer_size=cast(-1 as unsigned int); | ||
select @@session.aria_sort_buffer_size; | ||
@@session.aria_sort_buffer_size | ||
-9223372036854775807 | ||
+2147483647 | ||
SET @@global.aria_sort_buffer_size = @start_global_value; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.