summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/mysql/base.py
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2021-10-31 17:09:56 +0000
committerGerrit Code Review <gerrit@ci3.zzzcomputing.com>2021-10-31 17:09:56 +0000
commita1adb21cbe83ecce467194ab0e3277db581dfa4d (patch)
treebe97a906403ea59bf8767c7642684aa3aedbf731 /lib/sqlalchemy/dialects/mysql/base.py
parentde61582933b800272cc818d36de9e0b7f86aa4fe (diff)
parented78e679eafe787f4c152b78726bf1e1b91ab465 (diff)
downloadsqlalchemy-a1adb21cbe83ecce467194ab0e3277db581dfa4d.tar.gz
Merge "Remove deprecated dialects and drivers" into main
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",