[MDEV-21565] main.group_by failed in buildbot with wrong result Created: 2020-01-25  Updated: 2020-01-26  Resolved: 2020-01-26

Status: Closed
Project: MariaDB Server
Component/s: Optimizer, Tests
Affects Version/s: 10.1
Fix Version/s: 10.1.44, 10.2.31, 10.3.22, 10.4.12

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Varun Gupta (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-20922 Adding an order by changes the query ... Closed

 Description   

http://buildbot.askmonty.org/buildbot/builders/winx64-debug/builds/17003

10.1 faf2a6e5f03b9c7bd52d838b2a9b4860

main.group_by                            w1 [ fail ]
        Test ended at 2020-01-02 05:14:54
 
CURRENT_TEST: main.group_by
--- D:/winx64-debug/build/src/mysql-test/r/group_by.result	2020-01-02 04:27:46.548825100 +0000
+++ D:\winx64-debug\build\src\mysql-test\r\group_by.reject	2020-01-02 05:14:53.878028000 +0000
@@ -2800,11 +2800,11 @@
 create view v1 as select a, b+1 as x from t1;
 SELECT x, COUNT(DISTINCT a) AS y FROM v1 GROUP BY x ORDER BY y;
 x	y
-101	2
 201	2
+101	2
 SELECT b+1 AS x, COUNT(DISTINCT a) AS y FROM t1 GROUP BY x ORDER BY y;
 x	y
-101	2
 201	2
+101	2
 drop view v1;
 drop table t1;
 
mysqltest: Result content mismatch



 Comments   
Comment by Varun Gupta (Inactive) [ 2020-01-25 ]

elenst I fixed this unstable behaviour in this https://github.com/MariaDB/server/commit/1adc559370cc53ca69e225739a942287eba1b974. So I think this can be closed.

Comment by Elena Stepanova [ 2020-01-25 ]

varun, if github doesn't lie, you fixed it in 10.5. The failure is from 10.1.

Comment by Varun Gupta (Inactive) [ 2020-01-26 ]

Looks like github is lying

git branch --contains 1adc559370cc53ca69e225739a942287eba1b974
* 10.1
  10.2
  10.3
  10.4
  10.5

Generated at Thu Feb 08 09:08:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.