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:
None 
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:26] Harrison Fisk
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.
[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

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.