CodeIgniter icon indicating copy to clipboard operation
CodeIgniter copied to clipboard

db->data_cache not (correctly) updated on drop_table / create_table

Open matthias-001 opened this issue 14 years ago • 1 comments

table_exists fails due to data_cache not being correctly updated on drop_table / create_table issue first occured when testing a model (CI internal test class)

e.g. creating multiple tables, dropping them again und re-creating them which resulted in table_exists giving incorrect results

see also: http://codeigniter.com/forums/viewthread/179460/#996089

kind regards, matthias

matthias-001 avatar Apr 18 '12 14:04 matthias-001

create_table() in 3.1.2 seems to have dropped this fix??!?

danielrhodeswarp avatar Dec 20 '16 11:12 danielrhodeswarp