]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Reflect decimal points in MariaDB non-quoted numeric defaults
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 3 Dec 2020 16:17:08 +0000 (11:17 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 3 Dec 2020 16:17:08 +0000 (11:17 -0500)
commit7fb41cfc69c6521bebce229a56bddd6267f39955
tree9fdc8928290c8e5870c741c6a775262f2801c885
parentf87d1353c74afae0b1c75235a704ddc3495351b8
Reflect decimal points in MariaDB non-quoted numeric defaults

Fixed issue where reflecting a server default on MariaDB only that
contained a decimal point in the value would fail to be reflected
correctly, leading towards a reflected table that lacked any server
default.

Fixes: #5744
Change-Id: Ifc5960928685a906558ba84ed6f59eecb3b1c358
doc/build/changelog/unreleased_13/5744.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/reflection.py
test/dialect/mysql/test_reflection.py