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.
- get list of all tables on first function call and then do in_array on
...
- every repeated call
...
- get list of all tables during unit config cache rebuild and save it
...
- into file (save 1 db query on each function call) and then only open that
...
- file and search for needed table.
Related Tasks
--
Best Regards,
http://www.in-portal.com
http://www.alex-time.com
Jira Legacy | ||||
---|---|---|---|---|
|