1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Fixed alias.test to also works with ps

The issue is that max_length for prepared statements are different from
normal queries, which can optimize the max_length based on the result
length.
This commit is contained in:
Monty
2021-09-17 16:07:00 +03:00
parent a2e55131c6
commit 03a10706ec
2 changed files with 7 additions and 7 deletions

View File

@ -231,7 +231,7 @@ disconnect c1;
--echo #
create or replace table t1 (a int);
create or replace table t2 (b int);
insert into t1 values(1),(2);
insert into t1 values(1<<30),(1<<29);
insert into t2 values(1),(2);
--enable_metadata
select t1.a as a1 from t1 as t1,t2 order by t2.b,t1.a;