• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
table_exists fails to notice a created table using create_table

#1
[eluser]dcunited08[/eluser]
The code keeps a list of all tables:
Code:
$data_cache['table_names'];

This is all well and good but it does not update or reset after calling create_table and the table is successfully created. So, the next time you call
Code:
table_exists('table1');
it says the table does not exist because it was not there when this method was called previously. Is this already bugged?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.