diff options
author | bar@mysql.com/bar.intranet.mysql.r18.ru <> | 2006-11-30 11:08:23 +0400 |
---|---|---|
committer | bar@mysql.com/bar.intranet.mysql.r18.ru <> | 2006-11-30 11:08:23 +0400 |
commit | dcde1be17d1467c582d75d13968e0b8ab4f44611 (patch) | |
tree | 7902bcc87fa67d48bce0393ddefb24a8af1bef62 /sql/sql_select.cc | |
parent | 153c57fa13c02763848ca68980e9e00738d9a858 (diff) | |
download | mariadb-git-dcde1be17d1467c582d75d13968e0b8ab4f44611.tar.gz |
Bug#24158 SET PASSWORD in binary log fails under ANSI_QUOTES
Problem: ``SET PASSWORD FOR foo@localhost'' was written into
binary log using double quites: ``SET PASSWORD FOR "foo"@"localhost"...''.
If sql_mode was set to ANSI_QUOTES, parser on slave considered
"foo" and "localhost" as identifiers instead of strigns constants,
so it failed to parse, generated syntax error and slave then stopped.
Fix: changing binary log entries to use single quotes:
``SET PASSWORD FOR 'foo'@'localhost'...'' not to depend on ANSI_QUOTES.
Diffstat (limited to 'sql/sql_select.cc')
0 files changed, 0 insertions, 0 deletions