db_forge's drop_table() does not clear the dropped table from the db data_cache |
[eluser]totels[/eluser]
When using the dbforge to drop a table(dbdriver=mysql) it is not possible to correctly check the existence of a table after it is dropped. Code: class Simple_db_model extends Model As a workaround I manually clear the cache when using this technique. Code: if ($drop === TRUE) {
[eluser]CroNiX[/eluser]
File an official Issue: https://github.com/EllisLab/CodeIgniter/issues Or no one will see it. |
Welcome Guest, Not a member yet? Register Sign In |