maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #05647
Query failure after minor upgrade 10.1.38 to 10.1.41
-
To:
maria-discuss@xxxxxxxxxxxxxxxxxxx
-
From:
Benoit Plessis <benoit@xxxxxxxxxxxx>
-
Date:
Fri, 20 Sep 2019 10:06:35 -0000
-
Autocrypt:
addr=benoit@xxxxxxxxxxxx; prefer-encrypt=mutual; keydata= mQINBE1iUZMBEADcKExcw68gV+mq9hzJboAlCVLqbYvrPxXafgJbFFhQv4ywLv9+fFCNtmys U32YatXhFk6D/vElzKxu9eQ0OYhiC1KJcCrVuWAy2a+S769JZbMQaptk/tBAXyLEaphjo9XX 7FFaylaBaFLgNug699D81hYPRWSnIq3J+JD+fTTRVflCsX8IhRON3ZFnAP0BPohphVnBY0wZ 5TOx36tX3lj7aRRkKcRS1XYT/822xgAflDy0zSUnIllXRabFlbHAlnbmnMh0lzBJosEn0HJg zCCuMMyiNPdIfMkMXUJrNNUU994EexnqejMROkLbSmW2s5vK9UFaUB9tbD1mJIzofLs0n10J sraHyOYDibnFte4aCoDBSeAiRGDC2KgypB7DhkxrZoEqM/t3kcN2SvBQsDrzPsJfHvN2pD5T yhYkT9qBmSqXc04ULROYTPuDslTfgzxUL1vnMsYQJSmdgpuDPk9JMarbXib7gyHN3DgQlidD QlWCWJ2jBla/t9Lm/pDkBGrtiLy+jXKPVwTunm25RfJGstvGHCpKvIzT85g6G//O6/2whB3/ ITRjvNgV5ilif7oLGLjJqKMFwkoYJG1QVzzPcCuZUEe2OARu7swBIFTGroQ/OF/Ap3kM3byR 87ju2ov0pAVqjKjVXsO6ClQRPmiujQsLh1G0cskAPcGMxmNTqwARAQABtCRCZW5vaXQgUGxl c3NpcyA8YmVub2l0QHBsZXNzaXMuaW5mbz6JAlIEEwEIADwCGwMGCwkIBwMCBhUIAgkKCwQW AgMBAh4BAheAAhkBFiEESG0oBD6rPXRdBYJtmX8m2UTm+poFAlnDlSUACgkQmX8m2UTm+pqf mg/9FLgZRt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pgp:
preference=signencrypt
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
Hi Guys,
We are experiencing a break in backward compatibility with the lastest
10.1 release which got publied on the debian/stretch release.
Queries that worked before suddenly spit errors about unknown column.
It seems to be related to the use of "inner join" without on/using
clause and left join and 'extra table':
SELECT * FROM t1, t2 INNER JOIN t3 LEFT JOIN t4 ON t4.id = t3.id_t5
WHERE t3.id = t2.id_t3 AND t1.id = X
will give: ERROR 1054 (42S22): Unknown column 't1.id' in 'where clause'
Adding parenthesis around the join:
SELECT * FROM t1, ( t2 INNER JOIN t3 LEFT JOIN t4 ON t4.id =
t3.id_t5 ) WHERE t3.id = t2.id_t3 AND t1.id = X
or adding an "on" clause on the inner join seem to fix the issue
SELECT * FROM t1, t2 INNER JOIN ON t3.id = t2.id_t3 t3 LEFT JOIN t4
ON t4.id = t3.id_t5 WHERE t1.id = X
Weirdly enough it's impossible to have a Left join without on/using
clause, while the parser let us write an inner join without.
I cannot find a related note in the changelogs ..
--
Benoit Plessis <benoit@xxxxxxxxxxxx> +33 6 77 42 78 32
4096R/44E6FA9A 486D 2804 3EAB 3D74 5D05 826D 997F 26D9 44E6 FA9A