diff options
author | unknown <pem@mysql.comhem.se> | 2004-01-08 09:27:29 +0100 |
---|---|---|
committer | unknown <pem@mysql.comhem.se> | 2004-01-08 09:27:29 +0100 |
commit | 952e2cd42af99102c74d16abc61b37e2c42055b0 (patch) | |
tree | e33db53c3a4c2445a62dfedb86c6a2598018fa0a /mysys/charset-def.c | |
parent | d4898d174c7e728a66831a299b8dddfd5ca6e802 (diff) | |
download | mariadb-git-952e2cd42af99102c74d16abc61b37e2c42055b0.tar.gz |
Fix BUG#2272: Crash if update with variable name in stored procedure.
Parse column names (and not variables) only in UPDATE ... SET ...
mysql-test/r/sp-error.result:
New test case for BUG#2272
mysql-test/t/sp-error.test:
New test case for BUG#2272
sql/sql_yacc.yy:
"UPDATE table SET id = val" should only recognize column names, and not
local SP variables for 'id'.
(Also removed "as locator" syntax which is not supported.)
Diffstat (limited to 'mysys/charset-def.c')
0 files changed, 0 insertions, 0 deletions