summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-12-18 00:13:16 +0100
committerSergei Golubchik <sergii@pisem.net>2014-12-18 00:13:16 +0100
commit724dbaabc0d06c4446417eb217d8536f193461f9 (patch)
treee85d8bf0f24b03f27060f994b178337db8471e19 /mysys
parenta4ff2afcb4b1e16f1d467add82a7313d3da05a05 (diff)
downloadmariadb-git-724dbaabc0d06c4446417eb217d8536f193461f9.tar.gz
MDEV-7150 Wrong auto increment values on INSERT .. ON DUPLICATE KEY UPDATE when the inserted columns include NULL in an auto-increment column
when restoring auto-inc value in INSERT ... ON DUPLICATE KEY UPDATE, take into account that 1. it may be changed in the UPDATE clause (old code did that) 2. it may be changed in the INSERT clause and then cause a dup key (old code missed that)
Diffstat (limited to 'mysys')
0 files changed, 0 insertions, 0 deletions