diff options
author | unknown <evgen@moonbone.local> | 2007-01-22 15:14:38 +0300 |
---|---|---|
committer | unknown <evgen@moonbone.local> | 2007-01-22 15:14:38 +0300 |
commit | df0a08964718cf9ff8189e16fbee75397784596e (patch) | |
tree | 5adfda1a09692651c167ac57baa15ffbcaddd64a /bdb/dbinc/os.h | |
parent | c6d4b94dd452d31f49430321a16690f7bec06d5c (diff) | |
download | mariadb-git-df0a08964718cf9ff8189e16fbee75397784596e.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.
sql/sql_insert.cc:
Bug#25123: ON DUPLICATE KEY clause allows fields not from the insert table.
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.
mysql-test/r/insert.result:
Added a test case for bug#25123: ON DUPLICATE KEY clause allows fields not from the insert table.
mysql-test/t/insert.test:
Added a test case for bug#25123: ON DUPLICATE KEY clause allows fields not from the insert table.
Diffstat (limited to 'bdb/dbinc/os.h')
0 files changed, 0 insertions, 0 deletions