Changeset 425 for branches/CombinedTextTables/statistic.php
- Timestamp:
- Apr 8, 2010, 7:58:16 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CombinedTextTables/statistic.php
r410 r425 16 16 { 17 17 $Query .= 'SELECT (SELECT COUNT(DISTINCT(`Entry`)) FROM ('. 18 ' SELECT `T`.* FROM ` '.$DbRow['TablePrefix'].'` AS `T`'.19 ' WHERE (` Complete` = 1) AND (`Language`='.$LanguageId.') AND (`VersionStart` <= '.$BuildNumber.') AND (`VersionEnd` >= '.$BuildNumber.')'.18 ' SELECT `T`.* FROM `Translation` AS `T`'. 19 ' WHERE (`Group` = '.$DbRow['Id'].') AND (`Complete` = 1) AND (`Language`='.$LanguageId.') AND (`VersionStart` <= '.$BuildNumber.') AND (`VersionEnd` >= '.$BuildNumber.')'. 20 20 ') AS `C1`) AS `Translated`, '. 21 21 '(SELECT COUNT(DISTINCT(`Entry`)) FROM ('. 22 ' SELECT `T`.* FROM ` '.$DbRow['TablePrefix'].'` AS `T`'.23 ' WHERE (` Language` = 0) AND (`VersionStart` <= '.$BuildNumber.') AND (`VersionEnd` >= '.$BuildNumber.')'.22 ' SELECT `T`.* FROM `Translation` AS `T`'. 23 ' WHERE (`Group` = '.$DbRow['Id'].') AND (`Language` = 0) AND (`VersionStart` <= '.$BuildNumber.') AND (`VersionEnd` >= '.$BuildNumber.')'. 24 24 ') AS `C2`) AS `Total`, "'.$DbRow['Name'].'" AS `Name` UNION '; 25 25 }
Note:
See TracChangeset
for help on using the changeset viewer.