Fix the alter table add partition can not store bug.