Commit 471951b
Ralf Schlatterbeck
Added two new tests:
- testFilteringMultilinkAndGroup tests the new bug in generated SQL with
MySQL 5.0, see
http://sf.net/tracker/?func=detail&atid=402788&aid=1541128&group_id=31577
It needs to be verified that it really catches the bug, I
have only MySQL 4.1 installed and the test runs through.
- testFilteringMultilinkSortGroup: This verifies that grouping by
something *and* sorting by a multilink will destroy the grouping-order
for the SQL implementation. This test fails for all the SQL backends.
Reason: We first let SQL sort by all the given sort attributes except
multilinks. *Then* we sort by all the multilink properties. Now if the
multilink is not the first sort attribute (not used in "group") but
the second (used in "sort") re-sorting will destroy the established
sort-order returned by the SQL query.
Note: I intend to fix this...1 parent 52a2130 commit 471951b
1 file changed
+22
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
928 | 928 | | |
929 | 929 | | |
930 | 930 | | |
| 931 | + | |
| 932 | + | |
931 | 933 | | |
932 | 934 | | |
933 | 935 | | |
| |||
939 | 941 | | |
940 | 942 | | |
941 | 943 | | |
942 | | - | |
| 944 | + | |
| 945 | + | |
943 | 946 | | |
944 | | - | |
945 | | - | |
946 | 947 | | |
947 | 948 | | |
948 | 949 | | |
| |||
984 | 985 | | |
985 | 986 | | |
986 | 987 | | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
987 | 996 | | |
988 | 997 | | |
989 | 998 | | |
| |||
1057 | 1066 | | |
1058 | 1067 | | |
1059 | 1068 | | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
1060 | 1078 | | |
1061 | 1079 | | |
1062 | 1080 | | |
| |||
0 commit comments