| Bug #1291 | client displays wrong prompt when in the middle of backticks | ||
|---|---|---|---|
| Submitted: | 15 Sep 2003 19:26 | Modified: | 17 Sep 2003 11:39 |
| Reporter: | Harrison Fisk | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
| Version: | All | OS: | Windows (Windows/Mac OS X/ ALL?!?) |
| Assigned to: | Jani Tolonen | CPU Architecture: | Any |
[15 Sep 2003 19:27]
Harrison Fisk
Patch to fix prompt error.
Attachment: prompt_fix.diff (application/octet-stream, text), 855 bytes.
[17 Sep 2003 11:39]
Jani Tolonen
Fixed in the latest source. Will appear in 4.0.16 and 4.1.1. Regards, Jani

Description: If you are in the command line client and put an openning ` but not a closing one on a single line, then it goes into multiline editting mode for the backtick. However it will display the incorrect prompt and instead display the double quote prompt and not a backtick prompt. How to repeat: shell> mysql mysql> use `test; "> " "> ` -> \c Suggested fix: It should display a prompt similar to `> when it needs a closing backtick. See attached file against current 4.0 tree.