fixed bug in mysql_prompt causing fragments of old commands to persist in mysql client
after cycling through command history