diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2020-12-03 17:39:43 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2020-12-03 17:39:43 +0000 |
commit | d22fa3c86fc317aba7dbff20a933a0805baa0cad (patch) | |
tree | 60ee4c22c5d3775253d1af7517a6c501aa3ede17 /lib/sqlalchemy/dialects/mysql | |
parent | 1a3def008ec84e8caa49461ae947ed00078f72ae (diff) | |
parent | 7fb41cfc69c6521bebce229a56bddd6267f39955 (diff) | |
download | sqlalchemy-d22fa3c86fc317aba7dbff20a933a0805baa0cad.tar.gz |
Merge "Reflect decimal points in MariaDB non-quoted numeric defaults"
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql')
-rw-r--r-- | lib/sqlalchemy/dialects/mysql/reflection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/dialects/mysql/reflection.py b/lib/sqlalchemy/dialects/mysql/reflection.py index 5be6a010e..14fb97c64 100644 --- a/lib/sqlalchemy/dialects/mysql/reflection.py +++ b/lib/sqlalchemy/dialects/mysql/reflection.py @@ -381,8 +381,8 @@ class MySQLTableDefinitionParser(object): r"(?: +COLLATE +(?P<collate>[\w_]+))?" r"(?: +(?P<notnull>(?:NOT )?NULL))?" r"(?: +DEFAULT +(?P<default>" - r"(?:NULL|'(?:''|[^'])*'|[\w\(\)]+" - r"(?: +ON UPDATE [\w\(\)]+)?)" + r"(?:NULL|'(?:''|[^'])*'|[\w\.\(\)]+" + r"(?: +ON UPDATE [\w\.\(\)]+)?)" r"))?" r"(?: +(?:GENERATED ALWAYS)? ?AS +(?P<generated>\(" r".*\))? ?(?P<persistence>VIRTUAL|STORED)?)?" |