MXS-1196: Add Oracle specific tests
Copied from .../server/mysql-test/suite/compat/oracle/t Will be used as a baseline and edited as needed.
This commit is contained in:
9
query_classifier/test/oracle/sp-param.inc
Normal file
9
query_classifier/test/oracle/sp-param.inc
Normal file
@ -0,0 +1,9 @@
|
||||
--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;
|
Reference in New Issue
Block a user