Fix bug #4518

While appending the "AUTO_INCREMENT="  in alter table query, added an additional check for if checkbox named "sql_auto_increment" has been chacked or unchecked.
Signed-off-by: Smita Kumari <kumarismita62@gmail.com>