Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Duplicate
-
10.4.31
-
None
Description
In MDEV-7445, a test required an empty table as a data source. mysql.slow_log was chosen as this table, but some CI testers enable this in a worker as a command line option, meaning that this table may no longer be empty. If the table returns more than 1 row, the query fails, causing test failure.
This will clearly be a random failure, depending on OS workload.
Attachments
Issue Links
- is duplicated by
-
MDEV-32518 Test failure: ./mtr --no-reorder main.log_slow_debug main.subselect
-
- Closed
-
I assume this is the failure that's being referred to?
CURRENT_TEST: main.subselect
/mnt/buildbot/build/mariadb-10.4.32/client//mysqltest: Error on delete of '/mnt/buildbot/build/mariadb-10.4.32/mysql-test/var/1/tmp/subselect.out.file.1' (Errcode: 2 "No such file or directory")
mysqltest: At line 5993: query 'Select
(Select Sum(`TestCase`.Revenue) From mysql.slow_log E
Where TestCase.TemplateID not in (Select 1 from mysql.slow_log where 2=2)
) As `ControlRev`
From
(Select 3 as Revenue, 4 as TemplateID) As `TestCase`
Group By TestCase.Revenue, TestCase.TemplateID' failed: 1242: Subquery returns more than 1 row