This needs discussion. How are we going to make the difference between a privilege on a database name having an underscore, and an underscore that is used as a wildcard character? This is why we have been displaying the backslash, to show that the underscore does not mean a one-character wildcard.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You're right, in this case it's a correct backslash. We need to differentiate between privileges for a database having an underscore, and for multiple databases selected with the underscore wildcard. In most cases, ? and * are used, but MySQL uses _ and % instead. Reverting the fix.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This needs discussion. How are we going to make the difference between a privilege on a database name having an underscore, and an underscore that is used as a wildcard character? This is why we have been displaying the backslash, to show that the underscore does not mean a one-character wildcard.
Feedback anyone?
You're right, in this case it's a correct backslash. We need to differentiate between privileges for a database having an underscore, and for multiple databases selected with the underscore wildcard. In most cases, ? and * are used, but MySQL uses _ and % instead. Reverting the fix.