mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
fd9bd58029
without the fix, only 896 rows were inserted into t2 in maria-big.test. storage/maria/ma_blockrec.c: due to wrong test we were skipping some rows when scanning mysql-test/r/maria-big.result: result for new test mysql-test/t/maria-big.test: test for a bug where we missed some rows when scanning
26 lines
811 B
Text
26 lines
811 B
Text
# Test of scenarios potentially too big for --valgrind or --mem
|
|
enable_info;
|
|
set storage_engine=maria;
|
|
disable_warnings;
|
|
drop table if exists t1, t2;
|
|
enable_warnings;
|
|
create table t1(a char(3));
|
|
insert into t1 values("abc");
|
|
insert into t1 select "def" from t1;
|
|
insert into t1 select "ghi" from t1;
|
|
insert into t1 select "jkl" from t1;
|
|
insert into t1 select "mno" from t1;
|
|
insert into t1 select "pqr" from t1;
|
|
insert into t1 select "stu" from t1;
|
|
insert into t1 select "vwx" from t1;
|
|
insert into t1 select "yza" from t1;
|
|
insert into t1 select "ceg" from t1;
|
|
insert into t1 select "ikm" from t1;
|
|
insert into t1 select "oqs" from t1;
|
|
select count(*) from t1;
|
|
insert into t1 select "uwy" from t1;
|
|
create table t2 select * from t1;
|
|
select count(*) from t1;
|
|
select count(*) from t2;
|
|
drop table t1, t2;
|
|
disable_info;
|