Debian Codegraph @

mysql-test/suite/lock_order/t/cycle.test

raw
1 #
2 # The whole point of this test is to produce file lock_order.txt,
3 # while having as much plugin code loaded as possible.
4 #
5
6 --source include/have_semisync_plugin.inc
7
8 ## FIXME : does not start
9 # --source include/have_group_replication_plugin.inc
10 # --let $rpl_skip_group_replication_start= 1
11 # --source include/group_replication.inc
12
13
14 --replace_regex /\.so|\.dll/.xxx/
15 --eval INSTALL PLUGIN pfs_example_plugin_employee SONAME '$PFS_EXAMPLE_PLUGIN_EMPLOYEE'
16
17 --replace_regex /\.so|\.dll/.xxx/
18 --eval INSTALL PLUGIN rpl_semi_sync_source SONAME '$SEMISYNC_SOURCE_PLUGIN';
19
20 --replace_regex /\.so|\.dll/.xxx/
21 --eval INSTALL PLUGIN rpl_semi_sync_replica SONAME '$SEMISYNC_REPLICA_PLUGIN';
22
23 --replace_regex /\.so|\.dll/.xxx/
24 --eval INSTALL PLUGIN version_tokens SONAME '$VERSION_TOKEN';
25
26 --replace_regex /\.so|\.dll/.xxx/
27 --eval INSTALL PLUGIN validate_password SONAME '$VALIDATE_PASSWORD';
28
29 --replace_regex /\.so|\.dll/.xxx/
30 --eval INSTALL PLUGIN connection_control SONAME '$CONNECTION_CONTROL_PLUGIN';
31
32 call mtr.add_suppression("Plugin Rewriter reported:");
33
34 --replace_regex /\.so|\.dll/.xxx/
35 --eval INSTALL PLUGIN rewriter SONAME '$REWRITER';
36
37 INSTALL COMPONENT "file://component_pfs_example";
38
39 INSTALL COMPONENT "file://component_validate_password";
40
41 # About "rwlock/sql/CRYPTO_dynlock_value::lock":
42 #
43 # SSL keys are declared only when SSL is used,
44 # so we must establish a connection to see the instrument name.
45 #
46 # Note that this depends pn the SSL library used, and the version number
47 connect (test_con1,localhost,root,,,,,SSL);
48 select "In SSL session";
49
50 disconnect test_con1;
51
52 --connection default
53
54 select "Dumping lock_order.txt file now" as title;
55 --exec $MYSQLADMIN --no-defaults --default-character-set=latin1 -S $MASTER_MYSOCK -P $MASTER_MYPORT -u root --password= debug 2>&1
56
57 UNINSTALL COMPONENT "file://component_pfs_example";
58
59 UNINSTALL COMPONENT "file://component_validate_password";
60
61 UNINSTALL PLUGIN rewriter;
62
63 UNINSTALL PLUGIN connection_control;
64
65 UNINSTALL PLUGIN validate_password;
66
67 UNINSTALL PLUGIN version_tokens;
68
69 UNINSTALL PLUGIN rpl_semi_sync_source;
70
71 UNINSTALL PLUGIN rpl_semi_sync_replica;
72
73 UNINSTALL PLUGIN pfs_example_plugin_employee;
74