quick fix enum and set options issue

it`s quick fix only, you should improve it better, unfortunately, i haven't opportunity to test on all databases, mysql only