Changeset 3918 for trunk/tools/database/www/Odin32DBHelpers.php3
- Timestamp:
- Aug 2, 2000, 4:19:10 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/database/www/Odin32DBHelpers.php3
r3914 r3918 1024 1024 " f.equiv AS equiv,\n". 1025 1025 " f.time AS time,\n". 1026 " f.line AS line,\n". 1026 1027 " g.name AS apigroupname,\n". 1027 1028 " g.refcode AS apigrouprefcode,\n". … … 1068 1069 Odin32DBInfoRow1("API Group", $array, "apigroupname", "apigrouprefcode", "apigrouprefcode","",""); 1069 1070 Odin32DBInfoRow1("File", $array, "filename", "filerefcode", "filerefcode","not available",""); 1071 if ($array["line"] > 0) 1072 Odin32DBInfoRow1("Line", $array, "line", "", "","",""); 1073 else 1074 Odin32DBInfoRow1("Line", $array, "unavailable", "", "","not available",""); 1070 1075 if (isset($array["aliasrefcode"])) 1071 1076 Odin32DBInfoRow2("Forwards", $array, "aliasdllname", "aliasdllrefcode", "dllrefcode","",".", … … 2103 2108 */ 2104 2109 $sql = sprintf("SELECT\n". 2105 " f.state,\n".2106 " COUNT( f.state)\n".2110 " state,\n". 2111 " COUNT(state)\n". 2107 2112 "FROM\n". 2108 2113 " function\n". 2109 2114 "WHERE\n". 2110 " f.apigroup = %d\n".2111 "GROUP BY f.state\n".2112 "ORDER BY f.state",2115 " apigroup = %d\n". 2116 "GROUP BY state\n". 2117 "ORDER BY state", 2113 2118 $iRefcode); 2114 2119 Odin32DBWriteStates($cFunctions, $sql, $db);
Note:
See TracChangeset
for help on using the changeset viewer.