delimiter //
CREATE or replace PROCEDURE tmp5 AS
CURSOR n3 is
SELECT * FROM (SELECT 1 an);
cursor c3 (t1 int, t2 int, t3 int) is
 select a.*
    FROM (SELECT 5 x) a;
pSTIME DATE:=NOW();
o1 row(id mediumint(8) unsigned  );
u1 row(id mediumint(8) UNSIGNED  );
g2 row(id         INT(10) UNSIGNED ,id2 INT); 
BEGIN
NULL;
END//

delimiter ;

CALL tmp5;