1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

main.stack view protocol - correct test result

View protocol requires expressions include a simple alias.
This commit is contained in:
Daniel Black
2024-11-21 17:30:13 +11:00
parent 32962ea253
commit 2c89fe7ea6
2 changed files with 3 additions and 3 deletions

View File

@@ -18,8 +18,8 @@ FROM Fibonacci
WHERE N < 100000
)
SELECT PrevN as N, Stack FROM Fibonacci;
select (select stack from t1 where n=2) = (select stack from t1 where N=75025);
(select stack from t1 where n=2) = (select stack from t1 where N=75025)
select (select stack from t1 where n=2) = (select stack from t1 where N=75025) as c;
c
1
DROP table t1;
#