dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f8d250
)
DELAYED can be trouble, when edit rate exceeds insert rate
author
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 26 Jun 2004 01:45:30 +0000
(
01:45
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 26 Jun 2004 01:45:30 +0000
(
01:45
+0000)
includes/SearchUpdate.php
patch
|
blob
|
history
diff --git
a/includes/SearchUpdate.php
b/includes/SearchUpdate.php
index
adad91b
..
c7b9c61
100644
(file)
--- a/
includes/SearchUpdate.php
+++ b/
includes/SearchUpdate.php
@@
-77,7
+77,7
@@
class SearchUpdate {
# Strip wiki '' and '''
$text = preg_replace( "/''[']*/", " ", $text );
- $sql = "REPLACE
DELAYED
INTO searchindex (si_page,si_title,si_text) VALUES ({$this->mId},'" .
+ $sql = "REPLACE INTO searchindex (si_page,si_title,si_text) VALUES ({$this->mId},'" .
wfStrencode( Title::indexTitle( $this->mNamespace, $this->mTitle ) ) . "','" .
wfStrencode( $text ) . "')";
wfQuery( $sql, DB_WRITE, "SearchUpdate::doUpdate" );