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:
@@ -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;
|
||||
#
|
||||
|
Reference in New Issue
Block a user