summaryrefslogtreecommitdiff
path: root/strings/ptr_cmp.asm
diff options
context:
space:
mode:
authorunknown <cmiller@zippy.cornsilk.net>2006-11-15 09:54:54 -0500
committerunknown <cmiller@zippy.cornsilk.net>2006-11-15 09:54:54 -0500
commite4849218639def8b0b596892cb62280e0faf4c26 (patch)
treeea4e3b6acb614257225f099a19fad8080f147bac /strings/ptr_cmp.asm
parentb2b013a6d00463faf4510f473a4dc933bb6ad077 (diff)
downloadmariadb-git-e4849218639def8b0b596892cb62280e0faf4c26.tar.gz
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. scripts/mysql_fix_privilege_tables.sh: Moved password existence check to end to allow for passwords with with embedded spaces.
Diffstat (limited to 'strings/ptr_cmp.asm')
0 files changed, 0 insertions, 0 deletions