testData: Rename 'queued' to 'state'

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-12-12 20:17:27 +01:00
committed by Chris Morgan
parent 956e5391de
commit 06f693859f
5 changed files with 69 additions and 50 deletions

View File

@@ -96,8 +96,8 @@ class queuedEntries
// queued testdata
// retrieve queued testdata for this version
$sQuery = "select * from testResults where versionId = '?' and queued = '?'";
$hResult = query_parameters($sQuery, $iVersionId, "true");
$sQuery = "select * from testResults where versionId = '?' and state = '?'";
$hResult = query_parameters($sQuery, $iVersionId, 'queued');
// go through the test results looking for the oldest queued data
while($oTestingRow = query_fetch_object($hResult))