important fix (LIMIT m,n should not be considered deterministic in column by column table dumping)

This commit is contained in:
Miroslav Stampar 2011-10-12 12:31:47 +00:00
parent e3a719e7d2
commit 39e33bea99

View File

@ -1619,6 +1619,8 @@ class Enumeration:
query = rootQuery.inband.query % (colString, conf.db, tbl)
if not entries and query:
if Backend.getIdentifiedDbms() in (DBMS.MYSQL,):
query = "%s ORDER BY %s" % (query, sorted(colList, key=len)[0])
entries = inject.getValue(query, blind=False, dump=True)
if isNoneValue(entries):