summaryrefslogtreecommitdiff
path: root/server-tools/instance-manager/user_map.h
diff options
context:
space:
mode:
authorunknown <cmiller@maint1.mysql.com>2006-08-15 18:41:21 +0200
committerunknown <cmiller@maint1.mysql.com>2006-08-15 18:41:21 +0200
commite0bffad3e8c121d81e1e64682d7fc8bc5aad8fcf (patch)
tree3c68981f31652387f476c382903a11ee5922f955 /server-tools/instance-manager/user_map.h
parent75e40b161b5cbbea28eca2641e6dfadaf09267a1 (diff)
downloadmariadb-git-e0bffad3e8c121d81e1e64682d7fc8bc5aad8fcf.tar.gz
Bug #20908: Crash if select @@""
Zero-length variables caused failures when using the length to look up the name in a hash. Instead, signal that no zero-length name can ever be found and that to encounter one is a syntax error. mysql-test/r/variables.result: Results for test. mysql-test/t/variables.test: Insert tests to prove that zero-length variable names do not cause faults. sql/gen_lex_hash.cc: If the length is zero, then there is nothing to look-up in the hash. sql/sql_lex.cc: Names of variables must not be empty. Signal an error of that happens.
Diffstat (limited to 'server-tools/instance-manager/user_map.h')
0 files changed, 0 insertions, 0 deletions