diff options
author | Daniël van Eeden <git@myname.nl> | 2021-06-23 10:00:43 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-06-28 09:39:59 -0400 |
commit | 919763b43ce334be621f29a4b9fd3edd7e6c6927 (patch) | |
tree | fd02fde30c80b30bcc87399a640e6291437b9755 /lib/sqlalchemy/dialects/postgresql/ranges.py | |
parent | 2f909a6b127e3ff8f8d411db28094804c8b9a2df (diff) | |
download | sqlalchemy-919763b43ce334be621f29a4b9fd3edd7e6c6927.tar.gz |
Don't require space after MySQL pk comment
Made a small adjustment in the table reflection feature of the MySQL
dialect to accommodate for alternate MySQL-oriented databases such as TiDB
which include their own "comment" directives at the end of a constraint
directive within "CREATE TABLE" where the format doesn't have the
additional space character after the comment, in this case the TiDB
"clustered index" feature. Pull request courtesy Daniël van Eeden.
Fixes: #6659
Closes: #6660
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/6660
Pull-request-sha: 98791a441b2e3d26aa7cef9d3e2907fac113e30f
Change-Id: I20d206e0cdb809e4c6997b87159edf41249f7cd9
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/ranges.py')
0 files changed, 0 insertions, 0 deletions