diff --git a/GRDB/Core/Database.swift b/GRDB/Core/Database.swift index 1c0e74472..fa1faeb24 100644 --- a/GRDB/Core/Database.swift +++ b/GRDB/Core/Database.swift @@ -941,8 +941,6 @@ extension Database { /// Returns whether a table exists. public func tableExists(_ tableName: String) throws -> Bool { - SchedulingWatchdog.preconditionValidQueue(self) - // SQlite identifiers are case-insensitive, case-preserving (http://www.alberton.info/dbms_identifiers_and_case_sensitivity.html) return try Row.fetchOne(self, "SELECT 1 FROM (SELECT sql, type, name FROM sqlite_master UNION SELECT sql, type, name FROM sqlite_temp_master) WHERE type = 'table' AND LOWER(name) = ?", arguments: [tableName.lowercased()]) != nil }