日期:2014-05-16 浏览次数:20799 次
ALTER TABLE practice_log DROP INDEX ix_practice_log_userid; ALTER TABLE practice_log ADD INDEX ix_practice_log_userid(userid,practicetime);
SET FOREIGN_KEY_CHECKS=0; ALTER TABLE practice_log DROP INDEX ix_practice_log_userid; ALTER TABLE practice_log ADD INDEX ix_practice_log_userid(userid,practicetime) SET FOREIGN_KEY_CHECKS=1;