mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
fix for --view-protocol
This commit is contained in:
parent
a6874341dd
commit
da114c709b
2 changed files with 3 additions and 7 deletions
|
@ -586,14 +586,10 @@ select
|
|||
concat(id, '-', key1, '-', col1)
|
||||
FROM t2
|
||||
WHERE t2.key1 = t1.a
|
||||
ORDER BY t2.key2 ASC LIMIT 1)
|
||||
ORDER BY t2.key2 ASC LIMIT 1) as subq
|
||||
from
|
||||
t1;
|
||||
(SELECT
|
||||
concat(id, '-', key1, '-', col1)
|
||||
FROM t2
|
||||
WHERE t2.key1 = t1.a
|
||||
ORDER BY t2.key2 ASC LIMIT 1)
|
||||
subq
|
||||
100-0-123456
|
||||
101-1-123456
|
||||
102-2-123456
|
||||
|
|
|
@ -594,7 +594,7 @@ select
|
|||
concat(id, '-', key1, '-', col1)
|
||||
FROM t2
|
||||
WHERE t2.key1 = t1.a
|
||||
ORDER BY t2.key2 ASC LIMIT 1)
|
||||
ORDER BY t2.key2 ASC LIMIT 1) as subq
|
||||
from
|
||||
t1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue