Index: trunk/extensions/CodeReview/ui/CodeRevisionTagView.php |
— | — | @@ -19,6 +19,8 @@ |
20 | 20 | |
21 | 21 | function getQueryInfo() { |
22 | 22 | $info = parent::getQueryInfo(); |
| 23 | + //Don't change table order, see http://www.mediawiki.org/wiki/Special:Code/MediaWiki/77733 |
| 24 | + //Bug in mysql 4 allowed incorrect table ordering joins to work |
23 | 25 | $info['tables'] = array_merge( array( 'code_tags' ), $info['tables'] ); |
24 | 26 | $info['conds'][] = 'cr_repo_id=ct_repo_id'; |
25 | 27 | $info['conds'][] = 'cr_id=ct_rev_id'; |