Error when checking index pool.
This commit is contained in:
Coder12a 2018-11-06 12:31:23 -06:00
parent a9f7a7c776
commit 6dce241a2a
1 changed files with 1 additions and 2 deletions

View File

@ -626,8 +626,7 @@ function colddb.remove(db,name,tag_name)
end
if db.indexes and colddb.file_Exists(db,"æIndex_table",tag_name) then
local cs2 = string.format("%s%s",t,"æIndex_table")
local om = db.indexes_pool[cs2]
if not om and not om.file then
if not (db.indexes_pool[cs2] and db.indexes_pool[cs2].file) then
colddb.open_index_table(db,tag_name)
end
colddb.delete_lines(db,name,tag_name)