Index: trunk/phase3/includes/Database.php |
— | — | @@ -1668,7 +1668,7 @@ |
1669 | 1669 | if( !is_numeric($limit) ) { |
1670 | 1670 | throw new DBUnexpectedError( $this, "Invalid non-numeric limit passed to limitResult()\n" ); |
1671 | 1671 | } |
1672 | | - return " $sql LIMIT " |
| 1672 | + return "$sql LIMIT " |
1673 | 1673 | . ( (is_numeric($offset) && $offset != 0) ? "{$offset}," : "" ) |
1674 | 1674 | . "{$limit} "; |
1675 | 1675 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -261,6 +261,7 @@ |
262 | 262 | * (bug 13615) Update case mappings and normalization to Unicode 5.1.0 |
263 | 263 | Note that case mappings will only be used if mbstring extension is not present. |
264 | 264 | * (bug 14044) Don't increment page view counters on views from bot users |
| 265 | +* (bug 14042) Calling Database::limitResult() misplaced the comment in the log file |
265 | 266 | |
266 | 267 | === API changes in 1.13 === |
267 | 268 | |