Debian Codegraph @

mysql-test/suite/ndb/r/ndb_restore_conv_remap_basic.result

raw
1 create table t1 (kbu bigint unsigned,
2 kbs bigint,
3 dbu_low bigint unsigned,
4 dbu_hi bigint unsigned,
5 dbs_low bigint,
6 dbs_hi bigint,
7 d int,
8 t text,
9 primary key(kbu, kbs))
10 engine = ndb;
11 insert into t1 values
12 (10, 10, 0, 18446744073709551606, -9223372036854775808, 9223372036854775798, 10, repeat("10", 1000)),
13 (11, 11, 1, 18446744073709551607, -9223372036854775807, 9223372036854775799, 11, repeat("11", 1000)),
14 (12, 12, 2, 18446744073709551608, -9223372036854775806, 9223372036854775800, 12, repeat("12", 1000)),
15 (13, 13, 3, 18446744073709551609, -9223372036854775805, 9223372036854775801, 13, repeat("13", 1000)),
16 (14, 14, 4, 18446744073709551610, -9223372036854775804, 9223372036854775802, 14, repeat("14", 1000)),
17 (15, 15, 5, 18446744073709551611, -9223372036854775803, 9223372036854775803, 15, repeat("15", 1000)),
18 (16, 16, 6, 18446744073709551612, -9223372036854775802, 9223372036854775804, 16, repeat("16", 1000)),
19 (17, 17, 7, 18446744073709551613, -9223372036854775801, 9223372036854775805, 17, repeat("17", 1000)),
20 (18, 18, 8, 18446744073709551614, -9223372036854775800, 9223372036854775806, 18, repeat("18", 1000)),
21 (19, 19, 9, 18446744073709551615, -9223372036854775799, 9223372036854775807, 19, repeat("19", 1000));
22 select kbu, kbs, dbu_low, dbu_hi, dbs_low, dbs_hi, d, sha1(t) from test.t1 order by kbu;
23 kbu kbs dbu_low dbu_hi dbs_low dbs_hi d sha1(t)
24 10 10 0 18446744073709551606 -9223372036854775808 9223372036854775798 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
25 11 11 1 18446744073709551607 -9223372036854775807 9223372036854775799 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
26 12 12 2 18446744073709551608 -9223372036854775806 9223372036854775800 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
27 13 13 3 18446744073709551609 -9223372036854775805 9223372036854775801 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
28 14 14 4 18446744073709551610 -9223372036854775804 9223372036854775802 14 816a88c32835139a3c1b8362020241a7d03c1768
29 15 15 5 18446744073709551611 -9223372036854775803 9223372036854775803 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
30 16 16 6 18446744073709551612 -9223372036854775802 9223372036854775804 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
31 17 17 7 18446744073709551613 -9223372036854775801 9223372036854775805 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
32 18 18 8 18446744073709551614 -9223372036854775800 9223372036854775806 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
33 19 19 9 18446744073709551615 -9223372036854775799 9223372036854775807 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
34 Create a table with NULL-value columns
35 create table t2(
36 col1 int unsigned not null primary key,
37 col2 int unsigned DEFAULT NULL)
38 charset = utf8mb4 engine=ndbcluster;
39 insert into t2 values(1, 1), (2,2), (3,NULL), (4,4), (5,5);
40 Run backup
41 Restore with no key offsets + 0 + 0
42 Remapping a column having NULL values with an offset.
43 NULL values will be preserved.
44 truncate test.t1;
45 truncate table t2;
46 select kbu, kbs, dbu_low, dbu_hi, dbs_low, dbs_hi, d, sha1(t) from test.t1 order by kbu;
47 kbu kbs dbu_low dbu_hi dbs_low dbs_hi d sha1(t)
48 10 10 0 18446744073709551606 -9223372036854775808 9223372036854775798 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
49 11 11 1 18446744073709551607 -9223372036854775807 9223372036854775799 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
50 12 12 2 18446744073709551608 -9223372036854775806 9223372036854775800 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
51 13 13 3 18446744073709551609 -9223372036854775805 9223372036854775801 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
52 14 14 4 18446744073709551610 -9223372036854775804 9223372036854775802 14 816a88c32835139a3c1b8362020241a7d03c1768
53 15 15 5 18446744073709551611 -9223372036854775803 9223372036854775803 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
54 16 16 6 18446744073709551612 -9223372036854775802 9223372036854775804 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
55 17 17 7 18446744073709551613 -9223372036854775801 9223372036854775805 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
56 18 18 8 18446744073709551614 -9223372036854775800 9223372036854775806 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
57 19 19 9 18446744073709551615 -9223372036854775799 9223372036854775807 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
58 select * from t2 order by col1;
59 col1 col2
60 1 11
61 2 12
62 3 NULL
63 4 14
64 5 15
65 Restore with small overlapping key offset + 5
66 truncate test.t1;
67 select kbu, kbs, dbu_low, dbu_hi, dbs_low, dbs_hi, d, sha1(t) from test.t1 order by kbu;
68 kbu kbs dbu_low dbu_hi dbs_low dbs_hi d sha1(t)
69 15 15 0 18446744073709551606 -9223372036854775808 9223372036854775798 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
70 16 16 1 18446744073709551607 -9223372036854775807 9223372036854775799 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
71 17 17 2 18446744073709551608 -9223372036854775806 9223372036854775800 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
72 18 18 3 18446744073709551609 -9223372036854775805 9223372036854775801 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
73 19 19 4 18446744073709551610 -9223372036854775804 9223372036854775802 14 816a88c32835139a3c1b8362020241a7d03c1768
74 20 20 5 18446744073709551611 -9223372036854775803 9223372036854775803 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
75 21 21 6 18446744073709551612 -9223372036854775802 9223372036854775804 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
76 22 22 7 18446744073709551613 -9223372036854775801 9223372036854775805 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
77 23 23 8 18446744073709551614 -9223372036854775800 9223372036854775806 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
78 24 24 9 18446744073709551615 -9223372036854775799 9223372036854775807 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
79 Restore with larger gap key offset + 20
80 truncate test.t1;
81 select kbu, kbs, dbu_low, dbu_hi, dbs_low, dbs_hi, d, sha1(t) from test.t1 order by kbu;
82 kbu kbs dbu_low dbu_hi dbs_low dbs_hi d sha1(t)
83 30 30 0 18446744073709551606 -9223372036854775808 9223372036854775798 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
84 31 31 1 18446744073709551607 -9223372036854775807 9223372036854775799 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
85 32 32 2 18446744073709551608 -9223372036854775806 9223372036854775800 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
86 33 33 3 18446744073709551609 -9223372036854775805 9223372036854775801 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
87 34 34 4 18446744073709551610 -9223372036854775804 9223372036854775802 14 816a88c32835139a3c1b8362020241a7d03c1768
88 35 35 5 18446744073709551611 -9223372036854775803 9223372036854775803 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
89 36 36 6 18446744073709551612 -9223372036854775802 9223372036854775804 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
90 37 37 7 18446744073709551613 -9223372036854775801 9223372036854775805 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
91 38 38 8 18446744073709551614 -9223372036854775800 9223372036854775806 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
92 39 39 9 18446744073709551615 -9223372036854775799 9223372036854775807 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
93 Restore with low data values + max offset (9223372036854775807)
94 truncate test.t1;
95 select kbu, kbs, dbu_low, dbu_hi, dbs_low, dbs_hi, d, sha1(t) from test.t1 order by kbu;
96 kbu kbs dbu_low dbu_hi dbs_low dbs_hi d sha1(t)
97 10 10 9223372036854775807 18446744073709551606 -1 9223372036854775798 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
98 11 11 9223372036854775808 18446744073709551607 0 9223372036854775799 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
99 12 12 9223372036854775809 18446744073709551608 1 9223372036854775800 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
100 13 13 9223372036854775810 18446744073709551609 2 9223372036854775801 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
101 14 14 9223372036854775811 18446744073709551610 3 9223372036854775802 14 816a88c32835139a3c1b8362020241a7d03c1768
102 15 15 9223372036854775812 18446744073709551611 4 9223372036854775803 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
103 16 16 9223372036854775813 18446744073709551612 5 9223372036854775804 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
104 17 17 9223372036854775814 18446744073709551613 6 9223372036854775805 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
105 18 18 9223372036854775815 18446744073709551614 7 9223372036854775806 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
106 19 19 9223372036854775816 18446744073709551615 8 9223372036854775807 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
107 Restore with key offset + 30 and low data offset + 110
108 truncate test.t1;
109 select kbu, kbs, dbu_low, dbu_hi, dbs_low, dbs_hi, d, sha1(t) from test.t1 order by kbu;
110 kbu kbs dbu_low dbu_hi dbs_low dbs_hi d sha1(t)
111 40 40 110 18446744073709551606 -9223372036854775698 9223372036854775798 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
112 41 41 111 18446744073709551607 -9223372036854775697 9223372036854775799 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
113 42 42 112 18446744073709551608 -9223372036854775696 9223372036854775800 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
114 43 43 113 18446744073709551609 -9223372036854775695 9223372036854775801 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
115 44 44 114 18446744073709551610 -9223372036854775694 9223372036854775802 14 816a88c32835139a3c1b8362020241a7d03c1768
116 45 45 115 18446744073709551611 -9223372036854775693 9223372036854775803 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
117 46 46 116 18446744073709551612 -9223372036854775692 9223372036854775804 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
118 47 47 117 18446744073709551613 -9223372036854775691 9223372036854775805 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
119 48 48 118 18446744073709551614 -9223372036854775690 9223372036854775806 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
120 49 49 119 18446744073709551615 -9223372036854775689 9223372036854775807 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
121 Restore with high data values - max offset (-9223372036854775808)
122 truncate test.t1;
123 select kbu, kbs, dbu_low, dbu_hi, dbs_low, dbs_hi, d, sha1(t) from test.t1 order by kbu;
124 kbu kbs dbu_low dbu_hi dbs_low dbs_hi d sha1(t)
125 10 10 0 9223372036854775798 -9223372036854775808 -10 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
126 11 11 1 9223372036854775799 -9223372036854775807 -9 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
127 12 12 2 9223372036854775800 -9223372036854775806 -8 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
128 13 13 3 9223372036854775801 -9223372036854775805 -7 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
129 14 14 4 9223372036854775802 -9223372036854775804 -6 14 816a88c32835139a3c1b8362020241a7d03c1768
130 15 15 5 9223372036854775803 -9223372036854775803 -5 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
131 16 16 6 9223372036854775804 -9223372036854775802 -4 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
132 17 17 7 9223372036854775805 -9223372036854775801 -3 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
133 18 18 8 9223372036854775806 -9223372036854775800 -2 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
134 19 19 9 9223372036854775807 -9223372036854775799 -1 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
135 Restore with key offset - 10
136 truncate test.t1;
137 select kbu, kbs, dbu_low, dbu_hi, dbs_low, dbs_hi, d, sha1(t) from test.t1 order by kbu;
138 kbu kbs dbu_low dbu_hi dbs_low dbs_hi d sha1(t)
139 0 0 0 18446744073709551606 -9223372036854775808 9223372036854775798 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
140 1 1 1 18446744073709551607 -9223372036854775807 9223372036854775799 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
141 2 2 2 18446744073709551608 -9223372036854775806 9223372036854775800 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
142 3 3 3 18446744073709551609 -9223372036854775805 9223372036854775801 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
143 4 4 4 18446744073709551610 -9223372036854775804 9223372036854775802 14 816a88c32835139a3c1b8362020241a7d03c1768
144 5 5 5 18446744073709551611 -9223372036854775803 9223372036854775803 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
145 6 6 6 18446744073709551612 -9223372036854775802 9223372036854775804 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
146 7 7 7 18446744073709551613 -9223372036854775801 9223372036854775805 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
147 8 8 8 18446744073709551614 -9223372036854775800 9223372036854775806 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
148 9 9 9 18446744073709551615 -9223372036854775799 9223372036854775807 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
149 Restore with max positive key offset kbu + 9223372036854775807 kbs + 9223372036854775807-19
150 truncate test.t1;
151 select kbu, kbs, dbu_low, dbu_hi, dbs_low, dbs_hi, d, sha1(t) from test.t1 order by kbu;
152 kbu kbs dbu_low dbu_hi dbs_low dbs_hi d sha1(t)
153 9223372036854775817 9223372036854775798 0 18446744073709551606 -9223372036854775808 9223372036854775798 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
154 9223372036854775818 9223372036854775799 1 18446744073709551607 -9223372036854775807 9223372036854775799 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
155 9223372036854775819 9223372036854775800 2 18446744073709551608 -9223372036854775806 9223372036854775800 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
156 9223372036854775820 9223372036854775801 3 18446744073709551609 -9223372036854775805 9223372036854775801 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
157 9223372036854775821 9223372036854775802 4 18446744073709551610 -9223372036854775804 9223372036854775802 14 816a88c32835139a3c1b8362020241a7d03c1768
158 9223372036854775822 9223372036854775803 5 18446744073709551611 -9223372036854775803 9223372036854775803 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
159 9223372036854775823 9223372036854775804 6 18446744073709551612 -9223372036854775802 9223372036854775804 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
160 9223372036854775824 9223372036854775805 7 18446744073709551613 -9223372036854775801 9223372036854775805 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
161 9223372036854775825 9223372036854775806 8 18446744073709551614 -9223372036854775800 9223372036854775806 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
162 9223372036854775826 9223372036854775807 9 18446744073709551615 -9223372036854775799 9223372036854775807 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
163 Restore with max negative key offset kbu -10 kbs -9223372036854775808
164 truncate test.t1;
165 select kbu, kbs, dbu_low, dbu_hi, dbs_low, dbs_hi, d, sha1(t) from test.t1 order by kbu;
166 kbu kbs dbu_low dbu_hi dbs_low dbs_hi d sha1(t)
167 0 -9223372036854775798 0 18446744073709551606 -9223372036854775808 9223372036854775798 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
168 1 -9223372036854775797 1 18446744073709551607 -9223372036854775807 9223372036854775799 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
169 2 -9223372036854775796 2 18446744073709551608 -9223372036854775806 9223372036854775800 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
170 3 -9223372036854775795 3 18446744073709551609 -9223372036854775805 9223372036854775801 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
171 4 -9223372036854775794 4 18446744073709551610 -9223372036854775804 9223372036854775802 14 816a88c32835139a3c1b8362020241a7d03c1768
172 5 -9223372036854775793 5 18446744073709551611 -9223372036854775803 9223372036854775803 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
173 6 -9223372036854775792 6 18446744073709551612 -9223372036854775802 9223372036854775804 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
174 7 -9223372036854775791 7 18446744073709551613 -9223372036854775801 9223372036854775805 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
175 8 -9223372036854775790 8 18446744073709551614 -9223372036854775800 9223372036854775806 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
176 9 -9223372036854775789 9 18446744073709551615 -9223372036854775799 9223372036854775807 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
177 drop table test.t1;
178 drop table test.t2;
179 create table t1 (kiu int unsigned,
180 kis int,
181 diu_low int unsigned,
182 diu_hi int unsigned,
183 dis_low int,
184 dis_hi int,
185 d int,
186 t text,
187 primary key(kiu, kis))
188 engine = ndb;
189 insert into t1 values
190 (10, 10, 0, 4294967286, -2147483648, 2147483638, 10, repeat("10", 1000)),
191 (11, 11, 1, 4294967287, -2147483647, 2147483639, 11, repeat("11", 1000)),
192 (12, 12, 2, 4294967288, -2147483646, 2147483640, 12, repeat("12", 1000)),
193 (13, 13, 3, 4294967289, -2147483645, 2147483641, 13, repeat("13", 1000)),
194 (14, 14, 4, 4294967290, -2147483644, 2147483642, 14, repeat("14", 1000)),
195 (15, 15, 5, 4294967291, -2147483643, 2147483643, 15, repeat("15", 1000)),
196 (16, 16, 6, 4294967292, -2147483642, 2147483644, 16, repeat("16", 1000)),
197 (17, 17, 7, 4294967293, -2147483641, 2147483645, 17, repeat("17", 1000)),
198 (18, 18, 8, 4294967294, -2147483640, 2147483646, 18, repeat("18", 1000)),
199 (19, 19, 9, 4294967295, -2147483639, 2147483647, 19, repeat("19", 1000));
200 select kiu, kis, diu_low, diu_hi, dis_low, dis_hi, d, sha1(t) from test.t1 order by kiu;
201 kiu kis diu_low diu_hi dis_low dis_hi d sha1(t)
202 10 10 0 4294967286 -2147483648 2147483638 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
203 11 11 1 4294967287 -2147483647 2147483639 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
204 12 12 2 4294967288 -2147483646 2147483640 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
205 13 13 3 4294967289 -2147483645 2147483641 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
206 14 14 4 4294967290 -2147483644 2147483642 14 816a88c32835139a3c1b8362020241a7d03c1768
207 15 15 5 4294967291 -2147483643 2147483643 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
208 16 16 6 4294967292 -2147483642 2147483644 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
209 17 17 7 4294967293 -2147483641 2147483645 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
210 18 18 8 4294967294 -2147483640 2147483646 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
211 19 19 9 4294967295 -2147483639 2147483647 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
212 Run backup
213 Restore with no key offsets + 0 + 0
214 truncate test.t1;
215 select kiu, kis, diu_low, diu_hi, dis_low, dis_hi, d, sha1(t) from test.t1 order by kiu;
216 kiu kis diu_low diu_hi dis_low dis_hi d sha1(t)
217 10 10 0 4294967286 -2147483648 2147483638 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
218 11 11 1 4294967287 -2147483647 2147483639 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
219 12 12 2 4294967288 -2147483646 2147483640 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
220 13 13 3 4294967289 -2147483645 2147483641 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
221 14 14 4 4294967290 -2147483644 2147483642 14 816a88c32835139a3c1b8362020241a7d03c1768
222 15 15 5 4294967291 -2147483643 2147483643 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
223 16 16 6 4294967292 -2147483642 2147483644 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
224 17 17 7 4294967293 -2147483641 2147483645 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
225 18 18 8 4294967294 -2147483640 2147483646 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
226 19 19 9 4294967295 -2147483639 2147483647 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
227 Restore with small overlapping key offset + 5
228 truncate test.t1;
229 select kiu, kis, diu_low, diu_hi, dis_low, dis_hi, d, sha1(t) from test.t1 order by kiu;
230 kiu kis diu_low diu_hi dis_low dis_hi d sha1(t)
231 15 15 0 4294967286 -2147483648 2147483638 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
232 16 16 1 4294967287 -2147483647 2147483639 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
233 17 17 2 4294967288 -2147483646 2147483640 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
234 18 18 3 4294967289 -2147483645 2147483641 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
235 19 19 4 4294967290 -2147483644 2147483642 14 816a88c32835139a3c1b8362020241a7d03c1768
236 20 20 5 4294967291 -2147483643 2147483643 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
237 21 21 6 4294967292 -2147483642 2147483644 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
238 22 22 7 4294967293 -2147483641 2147483645 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
239 23 23 8 4294967294 -2147483640 2147483646 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
240 24 24 9 4294967295 -2147483639 2147483647 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
241 Restore with larger gap key offset + 20
242 truncate test.t1;
243 select kiu, kis, diu_low, diu_hi, dis_low, dis_hi, d, sha1(t) from test.t1 order by kiu;
244 kiu kis diu_low diu_hi dis_low dis_hi d sha1(t)
245 30 30 0 4294967286 -2147483648 2147483638 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
246 31 31 1 4294967287 -2147483647 2147483639 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
247 32 32 2 4294967288 -2147483646 2147483640 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
248 33 33 3 4294967289 -2147483645 2147483641 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
249 34 34 4 4294967290 -2147483644 2147483642 14 816a88c32835139a3c1b8362020241a7d03c1768
250 35 35 5 4294967291 -2147483643 2147483643 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
251 36 36 6 4294967292 -2147483642 2147483644 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
252 37 37 7 4294967293 -2147483641 2147483645 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
253 38 38 8 4294967294 -2147483640 2147483646 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
254 39 39 9 4294967295 -2147483639 2147483647 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
255 Restore with low data values + max offset (2147483647)
256 truncate test.t1;
257 select kiu, kis, diu_low, diu_hi, dis_low, dis_hi, d, sha1(t) from test.t1 order by kiu;
258 kiu kis diu_low diu_hi dis_low dis_hi d sha1(t)
259 10 10 2147483647 4294967286 -1 2147483638 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
260 11 11 2147483648 4294967287 0 2147483639 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
261 12 12 2147483649 4294967288 1 2147483640 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
262 13 13 2147483650 4294967289 2 2147483641 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
263 14 14 2147483651 4294967290 3 2147483642 14 816a88c32835139a3c1b8362020241a7d03c1768
264 15 15 2147483652 4294967291 4 2147483643 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
265 16 16 2147483653 4294967292 5 2147483644 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
266 17 17 2147483654 4294967293 6 2147483645 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
267 18 18 2147483655 4294967294 7 2147483646 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
268 19 19 2147483656 4294967295 8 2147483647 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
269 Restore with key offset + 30 and low data offset + 110
270 truncate test.t1;
271 select kiu, kis, diu_low, diu_hi, dis_low, dis_hi, d, sha1(t) from test.t1 order by kiu;
272 kiu kis diu_low diu_hi dis_low dis_hi d sha1(t)
273 40 40 110 4294967286 -2147483538 2147483638 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
274 41 41 111 4294967287 -2147483537 2147483639 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
275 42 42 112 4294967288 -2147483536 2147483640 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
276 43 43 113 4294967289 -2147483535 2147483641 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
277 44 44 114 4294967290 -2147483534 2147483642 14 816a88c32835139a3c1b8362020241a7d03c1768
278 45 45 115 4294967291 -2147483533 2147483643 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
279 46 46 116 4294967292 -2147483532 2147483644 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
280 47 47 117 4294967293 -2147483531 2147483645 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
281 48 48 118 4294967294 -2147483530 2147483646 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
282 49 49 119 4294967295 -2147483529 2147483647 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
283 Restore with high data values - max offset (-2147483648)
284 truncate test.t1;
285 select kiu, kis, diu_low, diu_hi, dis_low, dis_hi, d, sha1(t) from test.t1 order by kiu;
286 kiu kis diu_low diu_hi dis_low dis_hi d sha1(t)
287 10 10 0 2147483638 -2147483648 -10 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
288 11 11 1 2147483639 -2147483647 -9 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
289 12 12 2 2147483640 -2147483646 -8 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
290 13 13 3 2147483641 -2147483645 -7 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
291 14 14 4 2147483642 -2147483644 -6 14 816a88c32835139a3c1b8362020241a7d03c1768
292 15 15 5 2147483643 -2147483643 -5 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
293 16 16 6 2147483644 -2147483642 -4 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
294 17 17 7 2147483645 -2147483641 -3 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
295 18 18 8 2147483646 -2147483640 -2 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
296 19 19 9 2147483647 -2147483639 -1 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
297 Restore with key offset - 10
298 truncate test.t1;
299 select kiu, kis, diu_low, diu_hi, dis_low, dis_hi, d, sha1(t) from test.t1 order by kiu;
300 kiu kis diu_low diu_hi dis_low dis_hi d sha1(t)
301 0 0 0 4294967286 -2147483648 2147483638 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
302 1 1 1 4294967287 -2147483647 2147483639 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
303 2 2 2 4294967288 -2147483646 2147483640 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
304 3 3 3 4294967289 -2147483645 2147483641 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
305 4 4 4 4294967290 -2147483644 2147483642 14 816a88c32835139a3c1b8362020241a7d03c1768
306 5 5 5 4294967291 -2147483643 2147483643 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
307 6 6 6 4294967292 -2147483642 2147483644 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
308 7 7 7 4294967293 -2147483641 2147483645 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
309 8 8 8 4294967294 -2147483640 2147483646 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
310 9 9 9 4294967295 -2147483639 2147483647 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
311 Restore with max positive key offset kiu + 2147483647 kis + 2147483647-19
312 truncate test.t1;
313 select kiu, kis, diu_low, diu_hi, dis_low, dis_hi, d, sha1(t) from test.t1 order by kiu;
314 kiu kis diu_low diu_hi dis_low dis_hi d sha1(t)
315 2147483657 2147483638 0 4294967286 -2147483648 2147483638 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
316 2147483658 2147483639 1 4294967287 -2147483647 2147483639 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
317 2147483659 2147483640 2 4294967288 -2147483646 2147483640 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
318 2147483660 2147483641 3 4294967289 -2147483645 2147483641 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
319 2147483661 2147483642 4 4294967290 -2147483644 2147483642 14 816a88c32835139a3c1b8362020241a7d03c1768
320 2147483662 2147483643 5 4294967291 -2147483643 2147483643 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
321 2147483663 2147483644 6 4294967292 -2147483642 2147483644 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
322 2147483664 2147483645 7 4294967293 -2147483641 2147483645 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
323 2147483665 2147483646 8 4294967294 -2147483640 2147483646 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
324 2147483666 2147483647 9 4294967295 -2147483639 2147483647 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
325 Restore with max negative key offset kiu -10 kis -2147483648
326 truncate test.t1;
327 select kiu, kis, diu_low, diu_hi, dis_low, dis_hi, d, sha1(t) from test.t1 order by kiu;
328 kiu kis diu_low diu_hi dis_low dis_hi d sha1(t)
329 0 -2147483638 0 4294967286 -2147483648 2147483638 10 1746a73fbc27d76ffc2e7b503da9a5ecf97654fc
330 1 -2147483637 1 4294967287 -2147483647 2147483639 11 a2c68c4b2bd3c6496dbb950de07549b99f586464
331 2 -2147483636 2 4294967288 -2147483646 2147483640 12 8f03472cce5280aba1d0a4f1bf42b984f063dfc6
332 3 -2147483635 3 4294967289 -2147483645 2147483641 13 81a05d079148374cc1ac5d995c36d3db005a7b1f
333 4 -2147483634 4 4294967290 -2147483644 2147483642 14 816a88c32835139a3c1b8362020241a7d03c1768
334 5 -2147483633 5 4294967291 -2147483643 2147483643 15 66e995d4929bcd5d21e7ad0e00b8203ddba9c9c4
335 6 -2147483632 6 4294967292 -2147483642 2147483644 16 2f783ca2ead824631f7b729cfcf1cf22748aa2b7
336 7 -2147483631 7 4294967293 -2147483641 2147483645 17 9fe20fbc5f880a060075656835cdf38e2b2cefcd
337 8 -2147483630 8 4294967294 -2147483640 2147483646 18 c8abcc9e265f63f0fe47931bfeb1328e57a6e848
338 9 -2147483629 9 4294967295 -2147483639 2147483647 19 c36cdf290b4883026e80a0aa4b9156c763ae2a8f
339 drop table test.t1;