Skip to content

Commit

Permalink
MDEV-10585 EXECUTE IMMEDIATE statement
Browse files Browse the repository at this point in the history
Adding Oracle specific tests
  • Loading branch information
Alexander Barkov committed Apr 5, 2017
1 parent a699a5f commit 417c8c9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mysql-test/suite/compat/oracle/r/ps.result
Expand Up @@ -130,3 +130,9 @@ DROP TABLE t1;
#
# End of MDEV-10709 Expressions as parameters to Dynamic SQL
#
#
# MDEV-10585 EXECUTE IMMEDIATE statement
#
EXECUTE IMMEDIATE 'SELECT :1 FROM DUAL' USING 10;
:1
10
5 changes: 5 additions & 0 deletions mysql-test/suite/compat/oracle/t/ps.test
Expand Up @@ -121,3 +121,8 @@ DROP TABLE t1;
--echo #
--echo # End of MDEV-10709 Expressions as parameters to Dynamic SQL
--echo #

--echo #
--echo # MDEV-10585 EXECUTE IMMEDIATE statement
--echo #
EXECUTE IMMEDIATE 'SELECT :1 FROM DUAL' USING 10;

0 comments on commit 417c8c9

Please sign in to comment.