Commit 82a3784
committed
Bug#29949096 ERROR FOR FAILURE TO MIGRATE DURING DISCOVER
No error is set when trying to discover an unsupported(ie. too old) table from NDB. The ndbcluster plugin will just push some warnings and return an error from ndbcluster_discover(). However the calling convention for this function is that an error should be set before returning. This cause a mysqld crash after failure to migrate during discover with fix for BUG#29934763. Earlier the failed discover was retried and the retry caused a different code path to be used which set the error, although lots of duplicated warnings was produced which indicated that something was wrong already at that time. Fix by returning ER_NO_SUCH_TABLE and remove all the duplicated warnings. Change-Id: I66942d027b4d3ffc66ca98c4f8119c68e41fb71f1 parent aef79e3 commit 82a3784
File tree
7 files changed
+5
-20
lines changed- mysql-test/suite/ndb/r
- sql
7 files changed
+5
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
| |||
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
23 | | - | |
24 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
339 | | - | |
340 | 338 | | |
341 | 339 | | |
342 | 340 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
| |||
74 | 72 | | |
75 | 73 | | |
76 | 74 | | |
77 | | - | |
78 | | - | |
79 | 75 | | |
80 | 76 | | |
81 | 77 | | |
| |||
121 | 117 | | |
122 | 118 | | |
123 | 119 | | |
124 | | - | |
125 | | - | |
126 | 120 | | |
127 | 121 | | |
128 | 122 | | |
| |||
170 | 164 | | |
171 | 165 | | |
172 | 166 | | |
173 | | - | |
174 | | - | |
175 | 167 | | |
176 | 168 | | |
177 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | 126 | | |
129 | 127 | | |
130 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
197 | | - | |
198 | 196 | | |
199 | 197 | | |
200 | 198 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13465 | 13465 | | |
13466 | 13466 | | |
13467 | 13467 | | |
| 13468 | + | |
13468 | 13469 | | |
13469 | 13470 | | |
13470 | 13471 | | |
| |||
13477 | 13478 | | |
13478 | 13479 | | |
13479 | 13480 | | |
| 13481 | + | |
13480 | 13482 | | |
13481 | 13483 | | |
13482 | 13484 | | |
| |||
13493 | 13495 | | |
13494 | 13496 | | |
13495 | 13497 | | |
| 13498 | + | |
13496 | 13499 | | |
13497 | 13500 | | |
13498 | 13501 | | |
| |||
13513 | 13516 | | |
13514 | 13517 | | |
13515 | 13518 | | |
| 13519 | + | |
13516 | 13520 | | |
13517 | 13521 | | |
13518 | 13522 | | |
| |||
13529 | 13533 | | |
13530 | 13534 | | |
13531 | 13535 | | |
| 13536 | + | |
13532 | 13537 | | |
13533 | 13538 | | |
13534 | 13539 | | |
| |||
0 commit comments