Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/4a36284a55d59372#

Class kDBConnection has TableFound function, that does "SHOW TABLES LIKE
TableName" each time it is called with a new table name.

There are 2 ways of improving it:   1.

  1. get list of all tables on first function call and then do in_array on

...

  1. every repeated call

...

  1. get list of all tables during unit config cache rebuild and save it

...

  1. into file (save 1 db query on each function call) and then only open that

...

  1. file and search for needed table.

Related Tasks

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

Jira Legacy
serverIn-Portal Issue Tracker
keyINP-938