summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-07-07 23:05:43 +0000
committerpierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-07-07 23:05:43 +0000
commit614568ecd7710168487b47efdd4302729e7a0dfa (patch)
treea30f434c517539ba5d8e6c693050347a9b06ede7
parenteb7b700ec7922866590dc659f847b5044825a130 (diff)
downloadfpc-614568ecd7710168487b47efdd4302729e7a0dfa.tar.gz
Fix ShowHistory, by avoiding ordering by TR_ID which is not monotoneous anymore
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@45741 3ad0048d-3df7-0310-abae-a5850022a9f2
-rw-r--r--tests/utils/testsuite/utests.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/utils/testsuite/utests.pp b/tests/utils/testsuite/utests.pp
index 6ffe30f92c..e40f57922c 100644
--- a/tests/utils/testsuite/utests.pp
+++ b/tests/utils/testsuite/utests.pp
@@ -1979,8 +1979,8 @@ begin
+',TU_SVNCOMPILERREVISION AS Compiler_rev'
+',TU_SVNPACKAGESREVISION AS Packages_rev'
+',TO_ID,TC_ID,TV_ID'
- +' FROM TESTRESULTS '
- +' LEFT JOIN TESTRUN ON (TR_TESTRUN_FK=TU_ID)'
+ +' FROM TESTRUN '
+ +' LEFT JOIN TESTRESULTS ON (TR_TESTRUN_FK=TU_ID)'
+' LEFT JOIN TESTOS ON (TU_OS_FK=TO_ID)'
+' LEFT JOIN TESTCPU ON (TU_CPU_FK=TC_ID)'
+' LEFT JOIN TESTVERSION ON (TU_VERSION_FK=TV_ID)';
@@ -2076,7 +2076,7 @@ begin
else
S:=SS;
- S:=S+' ORDER BY TR_ID DESC';
+ S:=S+' ORDER BY TU_ID DESC';
if FDATE=0 then
S:=S+' LIMIT '+IntToStr(FLimit)
else