mirror of
https://github.com/MariaDB/server.git
synced 2025-02-04 21:02:17 +01:00
9 lines
272 B
SQL
9 lines
272 B
SQL
--eval CREATE FUNCTION f1(param $type) RETURN $type AS BEGIN RETURN param; END;
|
|
SHOW CREATE FUNCTION f1;
|
|
|
|
--eval SELECT LENGTH(f1(REPEAT('a',$length)));
|
|
--eval CREATE TABLE t1 AS SELECT f1(REPEAT('a',$length)) AS a;
|
|
|
|
SHOW CREATE TABLE t1;
|
|
DROP TABLE t1;
|
|
DROP FUNCTION f1;
|