Review MySQL casts rules with auto_increment, fix #96.