mysql-test/suite/maria/aria_sort_buffer.test
raw| 1 | --source include/have_sequence.inc |
| 2 | |
| 3 | # |
| 4 | # |
| 5 | # MDEV-24750 Various corruptions caused by Aria subsystem asking system call |
| 6 | # to overwrite memory that it does not own (InnoDB stacks) |
| 7 | |
| 8 | SET SESSION aria_repair_threads=128; |
| 9 | SET SESSION aria_sort_buffer_size=CAST(-1 AS UNSIGNED INT); |
| 10 | |
| 11 | SET SESSION tmp_table_size=65535; |
| 12 | CREATE TABLE t1 (a VARCHAR(255)); |
| 13 | insert into t1 (a) select seq from seq_1_to_1000; |
| 14 | UPDATE t1 SET a=( (SELECT MAX(a) FROM t1)); |
| 15 | DROP TABLE t1; |