Index: trunk/extensions/Wikidata/util/stats.php |
— | — | @@ -39,7 +39,7 @@ |
40 | 40 | $expressions_a = mysql_fetch_row( $expressions_r ); |
41 | 41 | $expressions = $expressions_a[0]; |
42 | 42 | |
43 | | -$defined_meanings_r = mysql_query( "SELECT COUNT(DISTINCT uw_syntrans.defined_meaning_id) FROM uw_syntrans, uw_expression WHERE uw_syntrans.remove_transaction_id IS NULL AND uw_expression.remove_transaction_id IS NULL AND uw_syntrans.expression_id = uw_expression.expression_id" ); |
| 43 | +$defined_meanings_r = mysql_query( "SELECT COUNT(DISTINCT defined_meaning_id) FROM uw_syntrans WHERE remove_transaction_id IS NULL" ); |
44 | 44 | $defined_meanings_a = mysql_fetch_row( $defined_meanings_r ); |
45 | 45 | $defined_meanings = $defined_meanings_a[0]; |
46 | 46 | echo"<br />\n"; |