main.order_by_innodb 'innodb' w5 [ fail ]
|
Test ended at 2023-02-10 12:41:13
|
|
CURRENT_TEST: main.order_by_innodb
|
mysqltest: At line 191: query 'CREATE TABLE t3 (
|
id int NOT NULL PRIMARY KEY,
|
id2 int NOT NULL,
|
d1 datetime,
|
d2 timestamp NOT NULL,
|
KEY id2 (id2)
|
) engine=innodb' failed: <Unknown> (2013): Lost connection to server during query
|
|
The result from queries just before the failure was:
|
< snip >
|
t2.id = (select dd.id
|
from t2 dd
|
where
|
dd.id2 = t1.id and
|
d1 > '2019-02-06 00:00:00'
|
order by
|
dd.d1 desc, dd.d2 desc, dd.id desc limit 1
|
);
|
id id
|
1 NULL
|
2 1
|
3 3
|
# Now, same as above but use a DESC index
|
CREATE TABLE t3 (
|
id int NOT NULL PRIMARY KEY,
|
id2 int NOT NULL,
|
d1 datetime,
|
d2 timestamp NOT NULL,
|
KEY id2 (id2)
|
) engine=innodb;
|
|
More results from queries before failure can be found in /tmp/tmp.8Mt1GzsIvB/var/5/log/order_by_innodb.log
|
|
|
Server [mysqld.1 - pid: 6871, winpid: 6871, exit: 256] failed during test run
|
Server log from this test:
|
----------SERVER LOG START-----------
|
2023-02-10 12:41:11 56 [ERROR] InnoDB: Database page corruption on disk or a failed read of file './ibdata1' page [page id: space=0, page number=386]. You may have to recover from a backup.
|
2023-02-10 12:41:11 56 [Note] InnoDB: Page dump (16384 bytes):
|
2023-02-10 12:41:11 56 [Note] InnoDB: 0000000000000182ffffffffffffffff00000000001b16f30002000000000000
|
2023-02-10 12:41:11 56 [Note] InnoDB: 000000000000000006000b78ffffffff0000ffffffff00000002054600000000
|
2023-02-10 12:41:11 56 [Note] InnoDB: 000001442d320000000100000182002c00000182002c00000000000000bb0000
|
2023-02-10 12:41:11 56 [Note] InnoDB: 0000000000bc000101100000000000000000000003b800000000018203daffff
|
2023-02-10 12:41:11 56 [Note] InnoDB: ffff000000000000000000000000000000000000000000000000000000000000
|
2023-02-10 12:41:11 56 [Note] InnoDB: 0000000000000000000000000000000000000000000000000000000000000000
|
2023-02-10 12:41:11 56 [Note] InnoDB: 0000000000000000000000000000000000000000000000000000000000000000
|
2023-02-10 12:41:11 56 [Note] InnoDB: 0000000000000000000000000000000000000000000000000000000000000000
|
2023-02-10 12:41:11 56 [Note] InnoDB: 0000000000000000000000000000000001390e000e0000000000b7e0dd000001
|
2023-02-10 12:41:11 56 [Note] InnoDB: 8001100474657374027432000c000474657374010274320110016d0d010e2000
|
...
|
This was tested in https://salsa.debian.org/mariadb-team/mariadb-server/-/merge_requests/35