]> git.joonet.de Git - adminer.git/commitdiff
Maria engine supports fulltext
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Wed, 15 Oct 2008 10:39:20 +0000 (10:39 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Wed, 15 Oct 2008 10:39:20 +0000 (10:39 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@529 7c3ca157-0c34-0410-bff1-cbf682f78f5c

select.inc.php

index 67e601fbea082c87eee27bb91f3c65de1450ac2b..062c160dc7fc63f130d7fc3f163c53b6ed040ba9 100644 (file)
@@ -2,7 +2,7 @@
 $table_status = table_status($_GET["select"]);
 $indexes = indexes($_GET["select"]);
 $operators = array("=", "<", ">", "<=", ">=", "!=", "LIKE", "REGEXP", "IN", "IS NULL", "NOT LIKE", "NOT REGEXP", "NOT IN", "IS NOT NULL");
-if ($table_status["Engine"] == "MyISAM") {
+if (eregi('^(MyISAM|Maria)$', $table_status["Engine"])) {
        $operators[] = "AGAINST";
 }
 $fields = fields($_GET["select"]);