1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 01:24:17 +02:00

Remove fulltext search without index

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@929 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2009-07-28 13:43:38 +00:00
parent df4fa66b46
commit 98b88eb15e

View File

@@ -276,9 +276,6 @@ class Adminer {
}
foreach ((array) $_GET["where"] as $val) {
if (strlen("$val[col]$val[val]") && in_array($val["op"], $this->operators)) {
if ($val["op"] == "AGAINST") {
$return[] = "MATCH (" . idf_escape($val["col"]) . ") AGAINST (" . $dbh->quote($val["val"]) . " IN BOOLEAN MODE)";
} else {
$in = process_length($val["val"]);
$cond = " $val[op]" . (ereg('NULL$', $val["op"]) ? "" : (ereg('IN$', $val["op"]) ? " (" . (strlen($in) ? $in : "NULL") . ")" : " " . $this->processInput($fields[$val["col"]], $val["val"])));
if (strlen($val["col"])) {
@@ -295,7 +292,6 @@ class Adminer {
}
}
}
}
return $return;
}