diff options
author | evgen@moonbone.local <> | 2007-01-22 15:14:38 +0300 |
---|---|---|
committer | evgen@moonbone.local <> | 2007-01-22 15:14:38 +0300 |
commit | e921ac7afcb98fbedf34890fc17a56bfc70a8b2b (patch) | |
tree | 5adfda1a09692651c167ac57baa15ffbcaddd64a /sql/sql_base.cc | |
parent | b8d55cc449a8872bd1d70f0dce3d22f24cf70849 (diff) | |
download | mariadb-git-e921ac7afcb98fbedf34890fc17a56bfc70a8b2b.tar.gz |
Bug#25123: ON DUPLICATE KEY clause allows fields not from the insert table.
When inserting into a join-based view the update fields from the ON DUPLICATE
KEY UPDATE wasn't checked to be from the table being inserted into and were
silently ignored.
The new check_view_single_update() function is added to check that
insert/update fields are being from the same single table of the view.
Diffstat (limited to 'sql/sql_base.cc')
0 files changed, 0 insertions, 0 deletions