mirror of
https://github.com/MariaDB/server.git
synced 2025-09-06 19:08:06 +03:00
There was a bug in the page cache that didn't take into account that another thread could be waiting for a page to be read by read_big_block(). Fixed by releasing all waiters in read_big_block()
33 lines
555 B
Plaintext
33 lines
555 B
Plaintext
--source include/have_s3.inc
|
|
--source create_database.inc
|
|
|
|
--echo #
|
|
--echo # MDEV-19575 Assertion `page_st == 1' failed upon SELECT from S3
|
|
--echo # table which is being converted into Aria
|
|
--echo #
|
|
|
|
CREATE TABLE t1 (f INT);
|
|
insert into t1 values (1),(2);
|
|
|
|
ALTER TABLE t1 ENGINE=S3;
|
|
select * from t1;
|
|
--connect (con1,localhost,root,,$database)
|
|
--send
|
|
ALTER TABLE t1 ENGINE=Aria;
|
|
|
|
--connection default
|
|
SELECT * FROM t1;
|
|
|
|
# Cleanup
|
|
|
|
--connection con1
|
|
--reap
|
|
--disconnect con1
|
|
--connection default
|
|
DROP TABLE t1;
|
|
|
|
#
|
|
# clean up
|
|
#
|
|
--source drop_database.inc
|