mysql-test/suite/compat/oracle/r/keywords.result
raw| 1 | SET sql_mode=ORACLE; |
| 2 | # |
| 3 | # MDEV-17363 Compressed columns cannot be restored from dump |
| 4 | # In sql_mode=ORACLE, COMPRESSED is still valid both as an SP label |
| 5 | # and an SP variable name. |
| 6 | # |
| 7 | BEGIN |
| 8 | IF TRUE THEN |
| 9 | GOTO compressed; |
| 10 | END IF; |
| 11 | SELECT 'This should not be reached' AS warn; |
| 12 | <<compressed>> |
| 13 | BEGIN |
| 14 | SELECT 1 AS a; |
| 15 | END; |
| 16 | END |
| 17 | $$ |
| 18 | a |
| 19 | 1 |
| 20 | DECLARE compressed INT DEFAULT 1; |
| 21 | BEGIN |
| 22 | SELECT compressed; |
| 23 | END |
| 24 | $$ |
| 25 | compressed |
| 26 | 1 |