Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL), 10.3(EOL), 10.4(EOL)
-
None
Description
Note: See also MDEV-17636, they share essential parts of the test case, might be related.
Note: Run the test cases with --repeat=N. They usually fail for me within 5 attempts, but it can vary on different machines and builds.
This one only fails with Aria:
CREATE TABLE t1 (pk INT PRIMARY KEY) ENGINE=Aria; |
|
--connect (con1,localhost,root,,test)
|
CREATE TEMPORARY TABLE tmp (pk INT) ENGINE=Aria; |
INSERT INTO tmp (pk) VALUES (NULL); |
SELECT * FROM tmp tx, tmp ty; |
DELETE FROM tmp LIMIT 1; |
|
--connection default
|
--send
|
CREATE TABLE t2 SELECT * FROM t1; |
|
--connection con1
|
OPTIMIZE TABLE tmp; |
--connection default
|
--reap
|
|
--connection con1
|
INSERT INTO tmp VALUES (1); |
SELECT * FROM tmp tx, tmp ty; |
|
# Cleanup
|
--disconnect con1
|
--connection default
|
DROP TABLE t1, t2; |
10.2 5cfb043d29 |
mysqltest: At line 20: query 'SELECT * FROM tmp tx, tmp ty' failed: 1030: Got error 175 "File too short; Expected more data in file" from storage engine Aria
|
2018-11-10 19:27:57 140306518107904 [ERROR] Got error 175 when reading table '/data/bld/10.2/mysql-test/var/tmp/mysqld.1/#sql445c_a_2'
|
This one fails both with Aria and MyISAM (slightly more complicated SELECTs), otherwise the same:
CREATE TABLE t1 (pk INT PRIMARY KEY); |
|
--connect (con1,localhost,root,,test)
|
CREATE TEMPORARY TABLE tmp (pk INT); |
INSERT INTO tmp (pk) VALUES (NULL); |
SELECT pk FROM t1 WHERE pk IN ( SELECT pk FROM tmp ) |
UNION |
SELECT pk FROM t1 WHERE pk IN ( SELECT pk FROM tmp ); |
DELETE FROM tmp LIMIT 1; |
|
--connection default
|
--send
|
CREATE TABLE t2 SELECT * FROM t1; |
|
--connection con1
|
OPTIMIZE TABLE tmp; |
--connection default
|
--reap
|
|
--connection con1
|
INSERT INTO tmp VALUES (1),(2); |
DELETE FROM tmp LIMIT 1; |
SELECT * FROM tmp tx, tmp ty; |
|
# Cleanup
|
--disconnect con1
|
--connection default
|
DROP TABLE t1, t2; |
10.2 5cfb043d29 |
mysqltest: At line 23: query 'SELECT * FROM tmp tx, tmp ty' failed: 1030: Got error 175 "File too short; Expected more data in file" from storage engine MyISAM
|
2018-11-10 19:28:34 140373883832064 [ERROR] Got error 175 when reading table '/data/bld/10.2/mysql-test/var/tmp/mysqld.1/#sql44b3_5_0'
|
Attachments
Issue Links
- duplicates
-
MDEV-19055 Assertion `(_my_thread_var())->thr_errno != 0' failed in pagecache_read
-
- Closed
-
- relates to
-
MDEV-17622 Assertion `block->type == PAGECACHE_EMPTY_PAGE || block->type == type || type == PAGECACHE_LSN_PAGE || type == PAGECACHE_READ_UNKNOWN_PAGE || block->type == PAGECACHE_READ_UNKNOWN_PAGE' failed in pagecache_read or ER_CRASHED_ON_USAGE
-
- Closed
-
-
MDEV-17636 Assertion `pagecache->block_root[i].status == 0' failed in check_pagecache_is_cleaned_up upon server shutdown
-
- Closed
-
-
MDEV-17622 Assertion `block->type == PAGECACHE_EMPTY_PAGE || block->type == type || type == PAGECACHE_LSN_PAGE || type == PAGECACHE_READ_UNKNOWN_PAGE || block->type == PAGECACHE_READ_UNKNOWN_PAGE' failed in pagecache_read or ER_CRASHED_ON_USAGE
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Elena Stepanova [ elenst ] | Sergei Golubchik [ serg ] |
Description |
_Note: See also _Note: Run the test cases with --repeat=N. They usually fail for me within 5 attempts, but it can vary on different machines and builds._ This one only fails with Aria: {code:sql} CREATE TABLE t1 (pk INT PRIMARY KEY) ENGINE=Aria; --connect (con1,localhost,root,,test) CREATE TEMPORARY TABLE tmp (pk INT) ENGINE=Aria; INSERT INTO tmp (pk) VALUES (NULL); SELECT * FROM tmp tx, tmp ty; DELETE FROM tmp LIMIT 1; --connection default --send CREATE TABLE t2 SELECT * FROM t1; --connection con1 OPTIMIZE TABLE tmp; --connection default --reap --connection con1 INSERT INTO tmp VALUES (1); SELECT * FROM tmp tx, tmp ty; # Cleanup --disconnect con1 --connection default DROP TABLE t1, t2; {code} {noformat:title=10.2 5cfb043d29} mysqltest: At line 20: query 'SELECT * FROM tmp tx, tmp ty' failed: 1030: Got error 175 "File too short; Expected more data in file" from storage engine Aria {noformat} This one fails both with Aria and MyISAM (slightly more complicated SELECTs), otherwise the same: {code:sql} CREATE TABLE t1 (pk INT PRIMARY KEY); --connect (con1,localhost,root,,test) CREATE TEMPORARY TABLE tmp (pk INT); INSERT INTO tmp (pk) VALUES (NULL); SELECT pk FROM t1 WHERE pk IN ( SELECT pk FROM tmp ) UNION SELECT pk FROM t1 WHERE pk IN ( SELECT pk FROM tmp ); DELETE FROM tmp LIMIT 1; --connection default --send CREATE TABLE t2 SELECT * FROM t1; --connection con1 OPTIMIZE TABLE tmp; --connection default --reap --connection con1 INSERT INTO tmp VALUES (1),(2); DELETE FROM tmp LIMIT 1; SELECT * FROM tmp tx, tmp ty; # Cleanup --disconnect con1 --connection default DROP TABLE t1, t2; {code} {noformat:title=10.2 5cfb043d29} mysqltest: At line 23: query 'SELECT * FROM tmp tx, tmp ty' failed: 1030: Got error 175 "File too short; Expected more data in file" from storage engine MyISAM {noformat} |
_Note: See also _Note: Run the test cases with --repeat=N. They usually fail for me within 5 attempts, but it can vary on different machines and builds._ This one only fails with Aria: {code:sql} CREATE TABLE t1 (pk INT PRIMARY KEY) ENGINE=Aria; --connect (con1,localhost,root,,test) CREATE TEMPORARY TABLE tmp (pk INT) ENGINE=Aria; INSERT INTO tmp (pk) VALUES (NULL); SELECT * FROM tmp tx, tmp ty; DELETE FROM tmp LIMIT 1; --connection default --send CREATE TABLE t2 SELECT * FROM t1; --connection con1 OPTIMIZE TABLE tmp; --connection default --reap --connection con1 INSERT INTO tmp VALUES (1); SELECT * FROM tmp tx, tmp ty; # Cleanup --disconnect con1 --connection default DROP TABLE t1, t2; {code} {noformat:title=10.2 5cfb043d29} mysqltest: At line 20: query 'SELECT * FROM tmp tx, tmp ty' failed: 1030: Got error 175 "File too short; Expected more data in file" from storage engine Aria {noformat} {noformat} 2018-11-10 19:27:57 140306518107904 [ERROR] Got error 175 when reading table '/data/bld/10.2/mysql-test/var/tmp/mysqld.1/#sql445c_a_2' {noformat} This one fails both with Aria and MyISAM (slightly more complicated SELECTs), otherwise the same: {code:sql} CREATE TABLE t1 (pk INT PRIMARY KEY); --connect (con1,localhost,root,,test) CREATE TEMPORARY TABLE tmp (pk INT); INSERT INTO tmp (pk) VALUES (NULL); SELECT pk FROM t1 WHERE pk IN ( SELECT pk FROM tmp ) UNION SELECT pk FROM t1 WHERE pk IN ( SELECT pk FROM tmp ); DELETE FROM tmp LIMIT 1; --connection default --send CREATE TABLE t2 SELECT * FROM t1; --connection con1 OPTIMIZE TABLE tmp; --connection default --reap --connection con1 INSERT INTO tmp VALUES (1),(2); DELETE FROM tmp LIMIT 1; SELECT * FROM tmp tx, tmp ty; # Cleanup --disconnect con1 --connection default DROP TABLE t1, t2; {code} {noformat:title=10.2 5cfb043d29} mysqltest: At line 23: query 'SELECT * FROM tmp tx, tmp ty' failed: 1030: Got error 175 "File too short; Expected more data in file" from storage engine MyISAM {noformat} {noformat} 2018-11-10 19:28:34 140373883832064 [ERROR] Got error 175 when reading table '/data/bld/10.2/mysql-test/var/tmp/mysqld.1/#sql44b3_5_0' {noformat} |
Link |
This issue relates to |
Link |
This issue relates to |
Assignee | Sergei Golubchik [ serg ] | Oleksandr Byelkin [ sanja ] |
Assignee | Oleksandr Byelkin [ sanja ] | Michael Widenius [ monty ] |
Link |
This issue duplicates |
issue.field.resolutiondate | 2019-06-18 07:28:44.0 | 2019-06-18 07:28:44.639 |
Fix Version/s | 10.2.26 [ 23409 ] | |
Fix Version/s | 10.3.17 [ 23411 ] | |
Fix Version/s | 10.4.6 [ 23412 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Link |
This issue relates to |
Workflow | MariaDB v3 [ 90529 ] | MariaDB v4 [ 155178 ] |