]> 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:50 +0000 (11:17 -0500)
commitaabf16a14748a5746c97cce9c301ccb8ac05b418
tree7e6521bfc7dd349a2d2e13d8a2ad3d0f1ea9ec0a
parentafa66740328d0bc011304c51b0352b32ca6aade0
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
(cherry picked from commit 7fb41cfc69c6521bebce229a56bddd6267f39955)
doc/build/changelog/unreleased_13/5744.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/reflection.py
test/dialect/mysql/test_reflection.py