1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-24 06:01:25 +03:00
Files
mariadb/scripts/mysql_fix_privilege_tables.sh
cmiller@zippy.cornsilk.net 3ebd031e00 Bug#17700: mysql_fix_privilege_tables cannot handle a password \
with embedded spaces
  
Problem:  Original code written assuming password contains no spaces.
Further, because of how sh interprets characters in variables, you
cannot do the "simple solution".
  
Solution:  Move the "was a password provided" check to the end. This
allows us to correctly quote the password argument when passed to the
mysql client program.  Addendum:  Put this check inside of a shell fn
to simplify the code.
2006-11-15 09:54:54 -05:00

5.0 KiB