mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
15 lines
329 B
Text
15 lines
329 B
Text
|
drop function if exists bug17615|
|
||
|
create table t3 (a varchar(256) unicode)|
|
||
|
create function bug17615() returns varchar(256) unicode
|
||
|
begin
|
||
|
declare tmp_res varchar(256) unicode;
|
||
|
set tmp_res= 'foo string';
|
||
|
return tmp_res;
|
||
|
end|
|
||
|
insert into t3 values(bug17615())|
|
||
|
select * from t3|
|
||
|
a
|
||
|
foo string
|
||
|
drop function bug17615|
|
||
|
drop table t3|
|