Помогите избавиться от ошибки никак не могу понять откуда она.
Table 'xnova_statpoints' was not locked with LOCK TABLES
SELECT MAX(total_points) as total FROM xnova_statpoints WHERE `stat_type` = '1';
Table 'xnova_statpoints' was not locked with LOCK TABLES
SELECT MAX(total_points) as total FROM xnova_statpoints WHERE `stat_type` = '1';