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:
6ca0ea0
)
Partial revert r78450: doQuery() and query() are not the same. You can't just swap...
author
Chad Horohoe
<demon@users.mediawiki.org>
Thu, 20 Jan 2011 02:32:43 +0000
(
02:32
+0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Thu, 20 Jan 2011 02:32:43 +0000
(
02:32
+0000)
includes/search/SearchPostgres.php
patch
|
blob
|
history
diff --git
a/includes/search/SearchPostgres.php
b/includes/search/SearchPostgres.php
index
9d6d153
..
639d0a2
100644
(file)
--- a/
includes/search/SearchPostgres.php
+++ b/
includes/search/SearchPostgres.php
@@
-148,7
+148,7
@@
class SearchPostgres extends SearchEngine {
## We need a separate query here so gin does not complain about empty searches
$SQL = "SELECT to_tsquery($prefix $searchstring)";
- $res = $this->db->
q
uery($SQL);
+ $res = $this->db->
doQ
uery($SQL);
if (!$res) {
## TODO: Better output (example to catch: one 'two)
die ("Sorry, that was not a valid search string. Please go back and try again");