• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

Europe/H03-May-2022-

bug16204175/H28-Aug-2020-1413

comp_err/H03-May-2022-

crldir/H28-Aug-2020-1413

dd/sdi/H28-Aug-2020-109,943109,880

ecdh_dsa_certs/H28-Aug-2020-280269

ecdh_rsa_certs/H28-Aug-2020-203195

ecdsa_certs/H28-Aug-2020-6758

funcs_1/H03-May-2022-

lob/H03-May-2022-

log_corruption/H03-May-2022-

new_certs_for_bad_host/H28-Aug-2020-10096

parts/H03-May-2022-6661

upgrade/H03-May-2022-

.mylogin.cnfH A D28-Aug-202065 32

256kb.jsonH A D28-Aug-2020264.5 KiB11

Index.xmlH A D28-Aug-2020170.5 KiB1,114993

README_tablespace_portable_win.textH A D28-Aug-20203.7 KiB9473

alter_table.csvH A D28-Aug-20202.7 KiB6766

bad_gis_data.datH A D28-Aug-20204 21

bug15328.cnfH A D28-Aug-202044 32

bug16171518_1.datH A D28-Aug-20201.1 KiB6054

bug16171518_2.datH A D28-Aug-2020169 1312

bug18311187_account.TRGH A D28-Aug-2020280 87

bug18311187_ins_sum.TRNH A D28-Aug-202039 32

bug20444737.sqlH A D28-Aug-202031 21

bug30753708.datH A D28-Aug-2020539 3224

bug35469.datH A D28-Aug-202045 43

ca-cert-verify-san.pemH A D28-Aug-20201.3 KiB2322

ca-cert-verify.pemH A D28-Aug-20201.2 KiB2120

ca-sha512.pemH A D28-Aug-20201.1 KiB2120

cacert.pemH A D28-Aug-20204.3 KiB8078

client-cert-verify-san.pemH A D28-Aug-20201.2 KiB2120

client-cert.pemH A D28-Aug-20204.4 KiB8381

client-key-verify-san.pemH A D28-Aug-20201.6 KiB2827

client-key.pemH A D28-Aug-20201.6 KiB2827

crl-ca-cert.pemH A D28-Aug-20204.3 KiB8179

crl-client-cert.pemH A D28-Aug-20204.4 KiB8280

crl-client-key.pemH A D28-Aug-20201.6 KiB2827

crl-client-revoked-cert.pemH A D28-Aug-20204.4 KiB8280

crl-client-revoked-key.pemH A D28-Aug-20201.6 KiB2827

crl-client-revoked.crlH A D28-Aug-2020711 1413

crl-server-cert.pemH A D28-Aug-20204.4 KiB8280

crl-server-key.pemH A D28-Aug-20201.6 KiB2827

des_key_fileH A D28-Aug-202055 54

expired-ca-key.pemH A D28-Aug-20201.6 KiB2827

expired-ca.pemH A D28-Aug-20201.4 KiB2423

expired-client-cert.pemH A D28-Aug-20201.2 KiB2221

expired-client-key.pemH A D28-Aug-20201.6 KiB2827

expired-server-cert.pemH A D28-Aug-20201.2 KiB2221

expired-server-key.pemH A D28-Aug-20201.6 KiB2827

explicit_undo_32.sqlH A D28-Aug-20202.3 KiB3632

hostname_in_grantor.sqlH A D28-Aug-20201.2 KiB3023

hostname_in_perfschema.sqlH A D28-Aug-20204.4 KiB10886

inconsistent_scan.csvH A D28-Aug-202019.6 KiB203202

init-file-rpl-filter.datH A D28-Aug-2020481 87

init_file.datH A D28-Aug-20201.3 KiB4636

initial_v@1o.frmH A D28-Aug-2020433 1615

intersect-bug50389.tsvH A D28-Aug-202021 KiB546545

invalid_rsa_public_key.pemH A D28-Aug-2020386 98

latin1.xmlH A D28-Aug-20205.8 KiB144126

loaddata1.datH A D28-Aug-202056 43

loaddata2.datH A D28-Aug-202095 65

loaddata3.datH A D28-Aug-2020210 76

loaddata4.datH A D28-Aug-202085 21

loaddata5.datH A D28-Aug-202069 43

loaddata_dq.datH A D28-Aug-202046 43

loaddata_pair.datH A D28-Aug-202020 32

loaddata_utf8.datH A D28-Aug-202063 76

loadxml.datH A D28-Aug-20201.4 KiB6547

loadxml2.datH A D28-Aug-2020951 2019

mysqldump_57.sqlH A D28-Aug-2020367.2 KiB884603

old-format-relay-log-win.infoH A D28-Aug-202030 53

old-format-relay-log.infoH A D28-Aug-202030 53

onerow.xmlH A D28-Aug-2020339 1413

rpl_bug28618.datH A D28-Aug-202042 43

rpl_loaddata.datH A D28-Aug-202012 32

rpl_loaddata2.datH A D28-Aug-2020140 98

rpl_mixed.datH A D28-Aug-202030 43

rpl_timezone.datH A D28-Aug-202030 32

rpl_timezone2.datH A D28-Aug-202040 32

rsa_private_key.pemH A D28-Aug-20203.2 KiB5251

rsa_public_key.pemH A D28-Aug-2020800 1514

server-cert-sha512.pemH A D28-Aug-20201.2 KiB2120

server-cert-verify-fail.pemH A D28-Aug-20201.1 KiB2019

server-cert-verify-pass.pemH A D28-Aug-20201.1 KiB2019

server-cert-verify-san.pemH A D28-Aug-20201.4 KiB2423

server-cert.pemH A D28-Aug-20204.5 KiB8583

server-key-sha512.pemH A D28-Aug-20201.6 KiB2827

server-key-verify-fail.pemH A D28-Aug-20201.6 KiB2827

server-key-verify-pass.pemH A D28-Aug-20201.6 KiB2827

server-key-verify-san.pemH A D28-Aug-20201.6 KiB2827

server-key.pemH A D28-Aug-20201.6 KiB2827

server-sha1-1024-cert.pemH A D28-Aug-2020879 1615

server-sha1-1024-key.pemH A D28-Aug-2020887 1615

server8k-cert.pemH A D28-Aug-202012.4 KiB208206

server8k-key.pemH A D28-Aug-20206.2 KiB10099

shutdown.sqlH A D28-Aug-202026 32

slave-relay-bin-win.indexH A D28-Aug-202020 21

slave-relay-bin.indexH A D28-Aug-202020 21

slave-relay-bin_linux.indexH A D28-Aug-202025 21

slave-relay-bin_win.indexH A D28-Aug-202025 21

untrusted-cacert.pemH A D28-Aug-20202.7 KiB5452

warnings_loaddata.datH A D28-Aug-2020211 98

wl6030.datH A D28-Aug-202041 65

wl6030_2.datH A D28-Aug-2020136 109

words.datH A D28-Aug-2020581 7170

words2.datH A D28-Aug-2020419 5150

x_y_data.csvH A D28-Aug-202012 32

README_tablespace_portable_win.text

1wl#8619 : This readme file is prepared for testing the functionality (portability) of the wl#8619 .
2Test windows --datadir and tablespaces runs on Linux platform.
3Note 1: The --datadir hierarchy and schema name and its hierarchy (Ex: test/tab1.ibd) should be followed
4
5Note 2: For older version of --datadir (Ex: 8.0), it is users responsibility to run upgrade script against the --datadir, once the
6upgrade is successful, you can create a zip file (tablespace_portable_win.zip). You can directly run portability functionality
7with old --datadir (Ex: mysql-8.0). Hence intentionally upgrade step is not added in this testcase.
8
9Note 3: The folder names and tablspace names and my.cnf config file should same as follows, do not change anything, as testcase
10might fail.
11
121) Logon on to any windows machine
13
142) Download the mysql binaries from PB2 (latest version of trunk)
15
163) InitDB/bootstrap the datadir using the following my.cnf config file, here is the command
17
18E:\wl8619\portable\mysql-commercial-9.0.0-dmr-winx64\bin\mysqld.exe --defaults-file=./my.cnf --datadir=../Win-DB/ --basedir=. --initialize-insecure
19
20log_error_verbosity=3
21lower_case_table_names=1
22innodb_log_files_in_group=4
23innodb_log_group_home_dir=../data_home
24innodb_data_home_dir=../data_home
25innodb_undo_directory=../undo_files
26innodb_undo_tablespaces=5
27innodb_data_file_path=data01:20M;data02:20M:autoextend
28
294) start the server with the same my.cnf file and connect with mysql client
30E:\wl8619\portable\mysql-commercial-9.0.0-dmr-winx64\bin\mysqld.exe --defaults-file=./my.cnf --datadir=../Win-DB/ --basedir=. -u root
31
325) Run following DDLs
33
34Note : Do replace 'xxx' in DDL statements with target location of that machine
35
36CREATE DATABASE test;
37use test;
38CREATE TABLESPACE ts1 ADD DATAFILE 'ts1.ibd' Engine=InnoDB;
39CREATE TABLE tab1(c1 int, c2 varchar(10)) TABLESPACE=ts1;
40INSERT INTO tab1 VALUES(1, 'VISH');
41CREATE TABLE tab2(c1 int , c2 varchar(10)) Engine=InnoDB;
42INSERT INTO tab2 VALUES(2, 'VISH');
43CREATE INDEX ix1 ON tab1(c2) USING BTREE;
44CREATE INDEX ix2 ON tab2(c2) ;
45
46create table tab3 (
47empno int,
48ename varchar(30),
49sal   numeric(3))
50engine=InnoDB row_format=compressed
51partition by hash(empno) (
52partition P0  DATA DIRECTORY = 'E:\\xxx\\xxx\\datadir1',
53partition P1 DATA DIRECTORY = 'E:\\xxx\\xxx\\datadir1');
54
55CREATE INDEX ix1 ON tab3(ename) USING BTREE;
56INSERT INTO tab3 VALUES (100,'VISWANATH',100);
57INSERT INTO tab3 VALUES (300,'VISWANATH',100);
58
59CREATE TABLE purchase (
60  `id` int(11) DEFAULT NULL,
61  `purchased` date DEFAULT NULL
62) ENGINE=InnoDB DEFAULT CHARSET=latin1
63PARTITION BY RANGE ( YEAR(purchased))
64SUBPARTITION BY HASH ( TO_DAYS(purchased))
65(PARTITION p0 VALUES LESS THAN (1990)
66 (SUBPARTITION s0 DATA DIRECTORY = 'E:\\xxx\\xxx\\part0' ENGINE = InnoDB,
67  SUBPARTITION s1 DATA DIRECTORY = 'E:\\xxx\\xxx\\part1' ENGINE = InnoDB),
68 PARTITION p1 VALUES LESS THAN (2000)
69 (SUBPARTITION s2 DATA DIRECTORY = 'E:\\xxx\\xxx\\part2' ENGINE = InnoDB,
70  SUBPARTITION s3 DATA DIRECTORY = 'E:\\xxx\\xxx\\part3' ENGINE = InnoDB));
71
72INSERT INTO purchase VALUES(1,'1980-05-31');
73INSERT INTO purchase VALUES(2,'1999-05-31');
74INSERT INTO purchase VALUES(3,'1998-05-31');
75INSERT INTO purchase VALUES(4,'1979-05-31');
76INSERT INTO purchase VALUES(5,'1978-05-31');
77INSERT INTO purchase VALUES(6,'1997-05-31');
78
79CREATE TABLESPACE ts2 ADD DATAFILE 'E:\\xxx\\xxx\\undo_files\\ts2.ibd' Engine=InnoDB;
80CREATE TABLE tab4(c1 int, c2 varchar(10)) TABLESPACE=ts2;
81INSERT INTO tab4 VALUES(1, 'VISH');
82
836) Shutdown the server (no crash or KILL -9)
84
857) zip entire --datadir files (following list of folders)
86
87--datadir (Win-DB)
88--innodb_undo_directory (undo_files)
89--innodb_data_home_dir (data_home)
90--innodb_log_group_home_dir (data_home)
91part0,part1,part2,part3,datadir1
92
938) Copy that zip file into mysql-test/std_data location of MTR home DIR
94