04.11.2015, 13:26
Quote:
Hmm, your datamodel is questionable at best. 'Leader' should be an attribute of Faction, not an attribute of Player. As a quick patch you can put an index on that 'leader' column to speed up table lookups, but in the long term you should probably restructure the datamodel.
Also run an explain query (within phpMyAdmin or other client) and put the output here: PHP код:
|