summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/mysql/base.py
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2021-10-30 22:24:51 +0200
committerMike Bayer <mike_mp@zzzcomputing.com>2021-10-31 12:31:56 -0400
commited78e679eafe787f4c152b78726bf1e1b91ab465 (patch)
tree9ba564f0ad1f0569650fcf803157bf4576fc738f /lib/sqlalchemy/dialects/mysql/base.py
parent4427ec68219b624a89dda4acb994c80fa0d8a5d7 (diff)
downloadsqlalchemy-ed78e679eafe787f4c152b78726bf1e1b91ab465.tar.gz
Remove deprecated dialects and drivers
Fixes: #7258 Change-Id: I3577f665eca04f2632b69bcb090f0a4ec9271db9
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql/base.py')
-rw-r--r--lib/sqlalchemy/dialects/mysql/base.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/sqlalchemy/dialects/mysql/base.py b/lib/sqlalchemy/dialects/mysql/base.py
index ad38fee97..4827df12f 100644
--- a/lib/sqlalchemy/dialects/mysql/base.py
+++ b/lib/sqlalchemy/dialects/mysql/base.py
@@ -1559,12 +1559,11 @@ class MySQLCompiler(compiler.SQLCompiler):
# artificial limit if one wasn't provided
# https://dev.mysql.com/doc/refman/5.0/en/select.html
if limit_clause is None:
+ # TODO: remove ??
# hardwire the upper limit. Currently
- # needed by OurSQL with Python 3
- # (https://bugs.launchpad.net/oursql/+bug/686232),
- # but also is consistent with the usage of the upper
+ # needed consistent with the usage of the upper
# bound as part of MySQL's "syntax" for OFFSET with
- # no LIMIT
+ # no LIMIT.
return " \n LIMIT %s, %s" % (
self.process(offset_clause, **kw),
"18446744073709551615",