]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Consider default FROM DUAL for MySQL
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 28 Jul 2020 20:46:53 +0000 (16:46 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 29 Jul 2020 17:18:34 +0000 (13:18 -0400)
commitf582fd48b15ad6d2f57269bb1fbe6b8062f84d87
treee794ddffb2bacd7d3d97bff5b12a9f7f4eaa5901
parent9e1ee412b8650761af6df993e119906682604728
Consider default FROM DUAL for MySQL

MySQL claims it doesn't require FROM DUAL for no
FROM clause even though the issue at #5481 locates
a case which requires one.  See if FROM DUAL the same
way as Oracle without attempting to guess is potentially
feasible.

Fixes: #5481
Change-Id: I2a28876c10a8ce2d121cd344dcdd837db321d4ab
doc/build/changelog/unreleased_13/5481.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/testing/suite/test_select.py