Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
Under terms of this task we'll implement anchored ROW data types for routine parameters, using the same syntax that was previously implemented for routine local variables:
SET sql_mode=DEFAULT; |
CREATE TABLE t1 (a INT, b TEXT); |
DELIMITER $$
|
CREATE PROCEDURE p1 (a ROW TYPE OF t1) |
BEGIN
|
SET a.a=10; |
SET a.b='text'; |
END; |
$$
|
DELIMITER ;
|
SET sql_mode=ORACLE; |
CREATE TABLE t1 (a INT, b TEXT); |
DELIMITER $$
|
CREATE PROCEDURE p1 (a t1%ROWTYPE) AS |
BEGIN
|
a.a:=10;
|
a.b:='text'; |
END; |
$$
|
DELIMITER ;
|
Attachments
Issue Links
- relates to
-
MDEV-12133 sql_mode=ORACLE: table%ROWTYPE in variable declarations
- Closed
-
MDEV-12461 TYPE OF and ROW TYPE OF anchored data types for stored routine variables
- Closed