This commit is contained in:
Gwendal Roué committed 2021-05-01 14:40:20 +02:00
1 parent e8802fb010
commit 52bc7eb7c6
1 file changed
+2 -3
+2 -3
View File
@@ -92,10 +92,9 @@ extension Database {
}
}
// Temp schema shadows main and attached databases
// Temp schema shadows other schema: put it first
if let tempIdx = schemaIdentifiers.firstIndex(of: .temp) {
schemaIdentifiers.remove(at: tempIdx)
schemaIdentifiers.insert(.temp, at: 0)
schemaIdentifiers.swapAt(tempIdx, 0)
}
schemaCache.schemaIdentifiers = schemaIdentifiers