mysql unique index test, unable to reproduce #1532, closes #1532