fix testrun comparison query error in case of noskipped

git-svn-id: trunk@6347 -
This commit is contained in:
fpc 2007-02-05 08:17:09 +00:00
parent b08c9c9431
commit 51dd839787

View File

@ -732,7 +732,7 @@ begin
S:='SELECT T_NAME as Filename,tr1.TR_SKIP as Run1_Skipped,'
+'tr2.TR_SKIP as Run2_Skipped,tr1.TR_OK as Run1_OK,tr2.TR_OK as Run2_OK '
+'FROM TESTS, tr2 LEFT JOIN tr1 USING (TR_TEST_FK) '
+'WHERE ((tr1.TR_SKIP IS NULL) or (%s(tr1.TR_OK<>tr2.TR_OK))) and (T_ID=tr2.TR_TEST_FK);';
+'WHERE ((tr1.TR_SKIP IS NULL) or (%s(tr1.TR_OK<>tr2.TR_OK))) and (T_ID=tr2.TR_TEST_FK)';
If FNoSkipped then
begin
S:=S+' and (tr2.TR_SKIP<>"+")';