1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00

Fixed BUG#3368: Stored procedure crash if group_concat(variable).

This commit is contained in:
pem@mysql.comhem.se
2004-06-15 14:26:19 +02:00
parent 00d5d92550
commit 26ec49f1a8
3 changed files with 35 additions and 1 deletions

View File

@@ -1372,6 +1372,21 @@ select 1+2|
1+2
3
drop procedure bug3843|
drop table if exists t3|
create table t3 ( s1 char(10) )|
insert into t3 values ('a'), ('b')|
create procedure bug3368(v char(10))
begin
select group_concat(v) from t3;
end|
call bug3368('x')|
group_concat(v)
x,x
call bug3368('yz')|
group_concat(v)
yz,yz
drop procedure bug3368|
drop table t3|
drop table if exists fac|
create table fac (n int unsigned not null primary key, f bigint unsigned)|
create procedure ifac(n int unsigned)