Menu

#4345 Privileges editor shows databases with underscore backslash-escaped

4.1.12
invalid
1
2014-04-02
2014-03-29
Ann + J.M.
No

For database names with an underscore, the Privileges editor (database-specific rights box) escapes the underscores with backslashes.

Discussion

  • Marc Delisle

    Marc Delisle - 2014-03-29

    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.

     
  • Marc Delisle

    Marc Delisle - 2014-03-30
    • status: resolved --> open
     
  • Marc Delisle

    Marc Delisle - 2014-03-31

    Feedback anyone?

     
  • Ann + J.M.

    Ann + J.M. - 2014-04-02

    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.

     
  • Ann + J.M.

    Ann + J.M. - 2014-04-02
    • status: open --> invalid
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.