Original fix by Stazis
Symptoms:
There seems to be a problem with subclass skills, like if you subclass a necromancer. You level to say 52, learn all ur skills etc. Then if u switch back to ur main class then back to your necromancer. Alot of the skills are reset and u have to relearn them.
Fix:
ok - haven't tested yet but think solving the problem is
open user_skill for modify
remove old primary key settings
mark fields char_id,skill_id, subjob_id
and make them PRIMARY KEY - save the table
do the same with shortcut_info table.