From e1aca9375c29690d32c8fd9e16f4b4fda12a253c Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sat, 27 May 2017 11:35:03 -0700 Subject: [PATCH] Remove unneeded drop-index SQLite call. --- Frameworks/LocalAccount/LocalDatabase.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/Frameworks/LocalAccount/LocalDatabase.swift b/Frameworks/LocalAccount/LocalDatabase.swift index 596bc1988..147ce61cc 100644 --- a/Frameworks/LocalAccount/LocalDatabase.swift +++ b/Frameworks/LocalAccount/LocalDatabase.swift @@ -45,9 +45,6 @@ final class LocalDatabase { let createStatementsPath = Bundle(for: type(of: self)).path(forResource: "LocalCreateStatements", ofType: "sql")! let createStatements = try! NSString(contentsOfFile: createStatementsPath, encoding: String.Encoding.utf8.rawValue) queue.createTables(usingStatements: createStatements as String) - queue.run { (database) in - let _ = database.executeUpdate("drop index dateArrivedIndex;", withArgumentsIn: []) - } queue.vacuumIfNeeded() }