File: cycle.test

package info (click to toggle)
mysql-8.0 8.0.43-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,273,924 kB
  • sloc: cpp: 4,684,605; ansic: 412,450; pascal: 108,398; java: 83,641; perl: 30,221; cs: 27,067; sql: 26,594; sh: 24,181; python: 21,816; yacc: 17,169; php: 11,522; xml: 7,388; javascript: 7,076; makefile: 2,194; lex: 1,075; awk: 670; asm: 520; objc: 183; ruby: 97; lisp: 86
file content (74 lines) | stat: -rw-r--r-- 2,162 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#
# The whole point of this test is to produce file lock_order.txt,
# while having as much plugin code loaded as possible.
#

--source include/have_semisync_plugin.inc

## FIXME : does not start
# --source include/have_group_replication_plugin.inc
# --let $rpl_skip_group_replication_start= 1
# --source include/group_replication.inc


--replace_regex /\.so|\.dll/.xxx/
--eval INSTALL PLUGIN pfs_example_plugin_employee SONAME '$PFS_EXAMPLE_PLUGIN_EMPLOYEE'

--replace_regex /\.so|\.dll/.xxx/
--eval INSTALL PLUGIN rpl_semi_sync_source SONAME '$SEMISYNC_SOURCE_PLUGIN';

--replace_regex /\.so|\.dll/.xxx/
--eval INSTALL PLUGIN rpl_semi_sync_replica SONAME '$SEMISYNC_REPLICA_PLUGIN';

--replace_regex /\.so|\.dll/.xxx/
--eval INSTALL PLUGIN version_tokens SONAME '$VERSION_TOKEN';

--replace_regex /\.so|\.dll/.xxx/
--eval INSTALL PLUGIN validate_password SONAME '$VALIDATE_PASSWORD';

--replace_regex /\.so|\.dll/.xxx/
--eval INSTALL PLUGIN connection_control SONAME '$CONNECTION_CONTROL_PLUGIN';

call mtr.add_suppression("Plugin Rewriter reported:");

--replace_regex /\.so|\.dll/.xxx/
--eval INSTALL PLUGIN rewriter SONAME '$REWRITER';

INSTALL COMPONENT "file://component_pfs_example";

INSTALL COMPONENT "file://component_validate_password";

# About "rwlock/sql/CRYPTO_dynlock_value::lock":
#
# SSL keys are declared only when SSL is used,
# so we must establish a connection to see the instrument name.
#
# Note that this depends pn the SSL library used, and the version number
connect (test_con1,localhost,root,,,,,SSL);
select "In SSL session";

disconnect test_con1;

--connection default

select "Dumping lock_order.txt file now" as title;
--exec $MYSQLADMIN --no-defaults --default-character-set=latin1 -S $MASTER_MYSOCK -P $MASTER_MYPORT  -u root --password= debug 2>&1

UNINSTALL COMPONENT "file://component_pfs_example";

UNINSTALL COMPONENT "file://component_validate_password";

UNINSTALL PLUGIN rewriter;

UNINSTALL PLUGIN connection_control;

UNINSTALL PLUGIN validate_password;

UNINSTALL PLUGIN version_tokens;

UNINSTALL PLUGIN rpl_semi_sync_source;

UNINSTALL PLUGIN rpl_semi_sync_replica;

UNINSTALL PLUGIN pfs_example_plugin_employee;