Skip to content

Commit fec8d8f

Browse files
清空表创建记录
1 parent da85502 commit fec8d8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

LKDBHelper/Helper/LKDBHelper.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ - (void)executeDB:(void (^)(FMDatabase *db))block
285285
block(self.usingdb);
286286
} else {
287287
if (self.bindingQueue == nil) {
288+
[self.createdTableNames removeAllObjects];
288289
self.bindingQueue = [[FMDatabaseQueue alloc] initWithPath:self.dbPath
289290
flags:LKDBOpenFlags];
290291
[self.bindingQueue inDatabase:^(FMDatabase *db) {

0 commit comments

Comments
 (0)