]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Accommodate value of None for ON DUPLICATE KEY UPDATE
authorLukas Banic <luko@lingea.cz>
Mon, 10 Jun 2019 15:24:53 +0000 (11:24 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 10 Jun 2019 17:26:34 +0000 (13:26 -0400)
commit59e9276f04beef4459571cba4226f9d4eaef6be9
treee7eb8655f83f3da7a067e527cc0ae43ce6d5ce72
parente2521b595ae8b5b4ca8147c5ee13e2fc0f597e63
Accommodate value of None for ON DUPLICATE KEY UPDATE

Fixed bug where MySQL ON DUPLICATE KEY UPDATE would not accommodate setting
a column to the value NULL.  Pull request courtesy Lukáš Banič.

Fixes: #4715
Closes: #4716
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4716
Pull-request-sha: bfad6e6bdfb7d6dd5176deaf30d875f3d0f15e06

Change-Id: Ia8831cc171d131bf3824be8db4fd1d231231bba3
doc/build/changelog/unreleased_13/4715.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/base.py
test/dialect/mysql/test_on_duplicate.py