Details
Description
As of the first release of MariaDB, the '\n' char no longer results in a CR/LF in the mysql prompt when it is included in MYSQL_PS1. This does not appear to be a problem in any of the mysql releases I have used (e.g. 5.1.6).
e.g: my prompt:
** root@hazel ** ~ ** Mon Jul 21 15:49:06 # set | grep -i mysql MYSQL_PS1=' \u ** \d ** \D\nsql> '
results in:
** root@hazel ** ~ ** Mon Jul 21 15:49:21 # mysql Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 2649 Server version: 5.3.12-MariaDB-log Source distribution Copyright (c) 2000, 2012, Oracle, Monty Program Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. ericx ** (none) ** Mon Jul 21 15:49:30 201sql>
Should have reported this a long time ago...
Thanks for your time.
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
I cannot repeat it. How did you build MariaDB?