Add missing SqlDate calls inside InsertNewTestConfigId

git-svn-id: trunk@26380 -
This commit is contained in:
pierre 2014-01-04 21:07:44 +00:00
parent 93883d1264
commit 166ab46317

View File

@ -721,7 +721,7 @@ begin
[TestRunID, TestRunID, TestRunID, TestCPUID, [TestRunID, TestRunID, TestRunID, TestCPUID,
TestOSID, TestVersionID, TestCategoryID, TestOSID, TestVersionID, TestCategoryID,
Submitter, Machine, Comment, Submitter, Machine, Comment,
TestDate, TestDate, TestDate]); SqlDate(TestDate), SqlDate(TestDate), SqlDate(TestDate)]);
Result:=InsertQuery(qry); Result:=InsertQuery(qry);
AddTestHistoryEntry(TestRunID,0); AddTestHistoryEntry(TestRunID,0);
end; end;
@ -738,7 +738,7 @@ procedure UpdateTestConfig;
{ Row_Count is zero if table does not exist } { Row_Count is zero if table does not exist }
if Res^.Row_Count=0 then exit; if Res^.Row_Count=0 then exit;
FreeQueryResult(Res); FreeQueryResult(Res);
if GetTestRunHistoryID(TestRunID) <> -1 then if GetTestPreviousRunHistoryID(TestRunID) <> -1 then
begin begin
Verbose(V_DEBUG,format('TestRun %d already in TestHistory table',[TestRunID])); Verbose(V_DEBUG,format('TestRun %d already in TestHistory table',[TestRunID]));
exit; exit;