Bug #104598 | Contribution: Add prompt option to show transaction status | ||
---|---|---|---|
Submitted: | 11 Aug 2021 15:03 | Modified: | 11 Nov 2021 20:54 |
Reporter: | OCA Admin (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | OS: | Any | |
Assigned to: | CPU Architecture: | Any |
[11 Aug 2021 15:03]
OCA Admin
[11 Aug 2021 15:03]
OCA Admin
Contribution submitted via Github - Add prompt option to show transaction status (*) Contribution by Murakami Kohei (Github ulwlu, mysql-server/pull/353#issuecomment-896048093): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: git_patch_700282747.txt (text/plain), 855 bytes.
[11 Aug 2021 15:18]
MySQL Verification Team
Thank you for the contribution.
[11 Nov 2021 20:54]
Margaret Fisher
Posted by developer: Changelog entry and documentation added for MySQL 8.0.28: A new option \T for the mysql client prompt prints an asterisk (*) if the current session is inside a transaction block. You can use the option with the - -prompt command-line option, in a MySQL option file, or with the MYSQL_PS1 environment variable. Thanks to Murakami Kohei for the contribution.