Commit a3a0330
committed
Bug#28957660 Regression: Crash in select_lex::flatten_subqueries
Followup patch: Ensure that semi-join transformation sequence is deterministic.
Sorting of semi-join transformation candidate objects in
SELECT_LEX::flatten_subqueries was not deterministic and could vary
from platform to platform. The sort criterion has been improved by
adding position in the candidate array as the last criterion, thus
making sorting fully deterministic.1 parent 0dc91e7 commit a3a0330
File tree
3 files changed
+20
-7
lines changed- mysql-test/r
- sql
3 files changed
+20
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
489 | | - | |
| 489 | + | |
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
109 | 110 | | |
110 | | - | |
| 111 | + | |
| 112 | + | |
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2996 | 2996 | | |
2997 | 2997 | | |
2998 | 2998 | | |
2999 | | - | |
| 2999 | + | |
| 3000 | + | |
| 3001 | + | |
| 3002 | + | |
| 3003 | + | |
3000 | 3004 | | |
3001 | 3005 | | |
3002 | 3006 | | |
| |||
3031 | 3035 | | |
3032 | 3036 | | |
3033 | 3037 | | |
3034 | | - | |
| 3038 | + | |
| 3039 | + | |
3035 | 3040 | | |
3036 | 3041 | | |
3037 | 3042 | | |
| |||
3041 | 3046 | | |
3042 | 3047 | | |
3043 | 3048 | | |
| 3049 | + | |
3044 | 3050 | | |
3045 | | - | |
3046 | | - | |
3047 | | - | |
| 3051 | + | |
| 3052 | + | |
| 3053 | + | |
| 3054 | + | |
| 3055 | + | |
| 3056 | + | |
| 3057 | + | |
| 3058 | + | |
3048 | 3059 | | |
3049 | 3060 | | |
3050 | 3061 | | |
| |||
0 commit comments