| 1 |
--source include/not_as_root.inc |
| 2 |
# |
| 3 |
# MDEV-11883 MariaDB crashes with out-of-memory when query information_schema |
| 4 |
# |
| 5 |
source include/have_csv.inc; |
| 6 |
|
| 7 |
let datadir=`select @@datadir`; |
| 8 |
|
| 9 |
create table t1 (a int not null) engine=csv; |
| 10 |
insert t1 values (1),(2); |
| 11 |
flush tables; |
| 12 |
|
| 13 |
chmod 0400 $datadir/test/t1.CSM; |
| 14 |
chmod 0400 $datadir/test/t1.CSV; |
| 15 |
|
| 16 |
--replace_result $datadir ./ |
| 17 |
query_vertical select * from information_schema.tables where table_schema='test'; |
| 18 |
|
| 19 |
drop table t1; |
| 20 |
|