• Arun Kuruvila's avatar
    Bug #14486004 MYSQL_SETPERMISSION DOES NOT QUOTE USER NAMES · bb14cc03
    Arun Kuruvila authored
    Description: Certain operations using the client tool
    'mysql\_setpermisson' which uses username of the format 
    "xxx-yyy" results in a syntax error.
    
    Analysis: The user name variable ( $user ) was not quoted
    properly in the 'mysql\_setpermission' script. As a result,
    while granting user privileges for a user with username of
    the format 'xxx-yyy', results in a syntax error.
    
    Fix: The escape sequence has been applied for the user
    variable in the script file.
    
    Note: Test case is not added for this fix.
    'mysql\_setpermission' executable resides in different
    directories on pb2 machines and on local boxes. Hence the 
    test case cannot be made generic.
    bb14cc03
mysql_setpermission.sh 17.1 KB