diff options
author | Jan Lindström <jan.lindstrom@mariadb.com> | 2018-02-05 18:21:28 +0200 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2018-02-05 18:21:28 +0200 |
commit | 60f51af755ea9d07c20a596ba21de184816fa265 (patch) | |
tree | 419e3b30ded268e1d2ad3f9ef095501ec68e587e /dbug | |
parent | 9390ff53fc39e34976cf051ce33649f9316bb8e6 (diff) | |
download | mariadb-git-60f51af755ea9d07c20a596ba21de184816fa265.tar.gz |
MDEV-15042: INSERT ON DUPLICATE KEY UPDATE produces error 1032 (Can't find record)bb-10.2-MDEV-15042
Problem was that wrong error message was returned when insert
returned FK-error and there was no duplicate key to process.
row_ins
If error from insert was DB_NO_REFERENCED_ROW and there was
no duplicate key we should ignore ON DUPLICATE KEY UPDATE
and return original error message.
Diffstat (limited to 'dbug')
0 files changed, 0 insertions, 0 deletions