From 570a9b171cba166fb487d16d6eaa1c619eac97e3 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Fri, 22 Feb 2019 18:49:57 -0500 Subject: [PATCH] Revert fulltext detection in driver --- lib/Db/Driver.php | 3 --- lib/Db/MySQL/Driver.php | 4 ---- lib/Db/PostgreSQL/Driver.php | 4 ---- lib/Db/SQLite3/Driver.php | 4 ---- 4 files changed, 15 deletions(-) diff --git a/lib/Db/Driver.php b/lib/Db/Driver.php index 81241e52..959a5500 100644 --- a/lib/Db/Driver.php +++ b/lib/Db/Driver.php @@ -76,7 +76,4 @@ interface Driver { * - "like": the case-insensitive LIKE operator */ public function sqlToken(string $token): string; - - /** Indicates whether the implementation is capable of full-text searching */ - public function fulltextEnabled(): bool; } diff --git a/lib/Db/MySQL/Driver.php b/lib/Db/MySQL/Driver.php index ac3fa795..8a4fe445 100644 --- a/lib/Db/MySQL/Driver.php +++ b/lib/Db/MySQL/Driver.php @@ -212,8 +212,4 @@ class Driver extends \JKingWeb\Arsse\Db\AbstractDriver { public function prepareArray(string $query, array $paramTypes): \JKingWeb\Arsse\Db\Statement { return new Statement($this->db, $query, $paramTypes, $this->packetSize); } - - public function fulltextEnabled(): bool { - return false; - } } diff --git a/lib/Db/PostgreSQL/Driver.php b/lib/Db/PostgreSQL/Driver.php index e138afa9..08c439d3 100644 --- a/lib/Db/PostgreSQL/Driver.php +++ b/lib/Db/PostgreSQL/Driver.php @@ -221,8 +221,4 @@ class Driver extends \JKingWeb\Arsse\Db\AbstractDriver { public function prepareArray(string $query, array $paramTypes): \JKingWeb\Arsse\Db\Statement { return new Statement($this->db, $query, $paramTypes); } - - public function fulltextEnabled(): bool { - return false; - } } diff --git a/lib/Db/SQLite3/Driver.php b/lib/Db/SQLite3/Driver.php index e979d7c1..f7e47fb9 100644 --- a/lib/Db/SQLite3/Driver.php +++ b/lib/Db/SQLite3/Driver.php @@ -179,8 +179,4 @@ class Driver extends \JKingWeb\Arsse\Db\AbstractDriver { $this->exec((!$rollback) ? "COMMIT" : "ROLLBACK"); return true; } - - public function fulltextEnabled(): bool { - return false; - } }