Debian Codegraph @

mysql-test/suite/x/r/forbidden_sql_cmd.result

raw
1 RUN DROP SCHEMA IF EXISTS xtest
2
3 0 rows affected
4 RUN CREATE SCHEMA xtest
5
6 1 rows affected
7 RUN USE xtest
8
9 0 rows affected
10 RUN DROP PROCEDURE IF EXISTS xtest.uninstall_plugin
11
12 0 rows affected
13 RUN DROP PROCEDURE IF EXISTS xtest.install_plugin
14
15 0 rows affected
16 RUN DROP PROCEDURE IF EXISTS xtest.shutdown_server
17
18 0 rows affected
19 RUN CREATE PROCEDURE xtest.uninstall_plugin()
20 BEGIN
21 UNINSTALL PLUGIN `mysqlx`;
22 END
23
24
25 0 rows affected
26 RUN CREATE PROCEDURE xtest.install_plugin()
27 BEGIN
28 INSTALL PLUGIN `mysqlx` SONAME "$MYSQLXPLUGIN";
29 END
30
31
32 0 rows affected
33 RUN CREATE PROCEDURE xtest.shutdown_server()
34 BEGIN
35 SHUTDOWN;
36 END
37
38
39 0 rows affected
40 RUN UNINSTALL PLUGIN `mysqlx`
41 While executing UNINSTALL PLUGIN `mysqlx`:
42 Got expected error: Command not supported by pluggable protocols (code 3130)
43 RUN INSTALL PLUGIN `mysqlx` SONAME "$MYSQLXPLUGIN"
44 While executing INSTALL PLUGIN `mysqlx` SONAME "$MYSQLXPLUGIN":
45 Got expected error: Command not supported by pluggable protocols (code 3130)
46 RUN SHUTDOWN
47 While executing SHUTDOWN:
48 Got expected error: Command not supported by pluggable protocols (code 3130)
49 RUN CALL xtest.uninstall_plugin()
50 While executing CALL xtest.uninstall_plugin():
51 Got expected error: Command not supported by pluggable protocols (code 3130)
52 RUN CALL xtest.install_plugin()
53 While executing CALL xtest.install_plugin():
54 Got expected error: Command not supported by pluggable protocols (code 3130)
55 RUN CALL xtest.shutdown_server()
56 While executing CALL xtest.shutdown_server():
57 Got expected error: Command not supported by pluggable protocols (code 3130)
58 RUN DROP SCHEMA IF EXISTS xtest
59
60 0 rows affected
61 Mysqlx.Ok {
62 msg: "bye!"
63 }
64 ok