diff --git a/mysql-test/suite/compat/oracle/r/sp.result b/mysql-test/suite/compat/oracle/r/sp.result index ec68f45b5cdb2..50c74ae2d911a 100644 --- a/mysql-test/suite/compat/oracle/r/sp.result +++ b/mysql-test/suite/compat/oracle/r/sp.result @@ -98,12 +98,12 @@ DROP FUNCTION f1; CREATE FUNCTION f1 (a INT) RETURN INT AS BEGIN <> -WHILE a>0 DO +WHILE a>0 LOOP IF a = 2 THEN LEAVE label1; END IF; SET a= a-1; -END WHILE label1; +END LOOP label1; RETURN a; END; / @@ -427,10 +427,10 @@ i INT DEFAULT 5; x INT DEFAULT 10; BEGIN <