fix bug #4523

Instead of always appending auto_increment in the end , if auto_increment was already there in result from SHOW CREATE then just replace the original auto_increment string in place from new one. In all other cases, append in the end if needed as it was happening before.
Signed-off-by: Smita Kumari <kumarismita62@gmail.com>