Index: trunk/phpwiki/newcodebase/ViewCountUpdate.php |
— | — | @@ -12,7 +12,7 @@ |
13 | 13 | |
14 | 14 | function doUpdate() |
15 | 15 | { |
16 | | - $sql = "UPDATE cur SET cur_counter=(1+cur_counter)," . |
| 16 | + $sql = "UPDATE LOW_PRIORITY cur SET cur_counter=(1+cur_counter)," . |
17 | 17 | "cur_timestamp=cur_timestamp WHERE cur_id={$this->mPageID}"; |
18 | 18 | $res = wfQuery( $sql, "ViewCountUpdate::doUpdate" ); |
19 | 19 | } |
Index: trunk/phpwiki/newcodebase/SiteStatsUpdate.php |
— | — | @@ -31,7 +31,7 @@ |
32 | 32 | else $m = ""; |
33 | 33 | array_push( $a, "ss_good_articles=(ss_good_articles$m)" ); |
34 | 34 | |
35 | | - $sql = "UPDATE site_stats SET " . implode ( ",", $a ) . |
| 35 | + $sql = "UPDATE LOW_PRIORITY site_stats SET " . implode ( ",", $a ) . |
36 | 36 | " WHERE ss_row_id=1"; |
37 | 37 | wfQuery( $sql, "SiteStatsUpdate::doUpdate" ); |
38 | 38 | } |
Index: trunk/phpwiki/newcodebase/UserTalkUpdate.php |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | $id = User::idFromName( $this->mTitle ); |
38 | 38 | if ( 0 == $id ) { return; } |
39 | 39 | |
40 | | - $sql = "UPDATE user SET user_newtalk=1 WHERE user_id={$id}"; |
| 40 | + $sql = "UPDATE LOW_PRIORITY user SET user_newtalk=1 WHERE user_id={$id}"; |
41 | 41 | wfQuery( $sql, $fname ); |
42 | 42 | } |
43 | 43 | } |
Index: trunk/phpwiki/newcodebase/SearchUpdate.php |
— | — | @@ -55,7 +55,7 @@ |
56 | 56 | # Strip wiki '' and ''' |
57 | 57 | $text = preg_replace( "/''[']*/", " ", $text ); |
58 | 58 | |
59 | | - $sql = "UPDATE cur SET cur_timestamp=cur_timestamp,cur_ind_text='" . |
| 59 | + $sql = "UPDATE LOW_PRIORITY cur SET cur_timestamp=cur_timestamp,cur_ind_text='" . |
60 | 60 | wfStrencode( $text ) . "' WHERE cur_id={$this->mId}"; |
61 | 61 | wfQuery( $sql, "SearchUpdate::doUpdate" ); |
62 | 62 | } |