Commit 710b344
committed
Fix Bug#14705287 ASSERTION FAILURE IN THREAD 140369867454208 IN FILE
DATA0TYPE.IC LINE 602
Deny the ALTER TABLE command if we are going to end up with too many
columns in the table.
Also lift the limit from the artificial 1000 (and remove the hard coded
magic number 1000), to the actual limit
of REC_MAX_N_FIELDS - DATA_N_SYS_COLS (1020) columns, add a new macro
REC_MAX_N_USER_FIELDS for that.
Approved by: Marko, Joh (rb:1393)1 parent fef98b3 commit 710b344
File tree
6 files changed
+24
-8
lines changed- include
- mysys
- sql
- storage/innobase
- handler
- include
6 files changed
+24
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
| 481 | + | |
481 | 482 | | |
482 | 483 | | |
483 | 484 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3650 | 3650 | | |
3651 | 3651 | | |
3652 | 3652 | | |
| 3653 | + | |
| 3654 | + | |
| 3655 | + | |
3653 | 3656 | | |
3654 | 3657 | | |
3655 | 3658 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
9369 | 9370 | | |
9370 | 9371 | | |
9371 | 9372 | | |
9372 | | - | |
9373 | | - | |
9374 | | - | |
9375 | | - | |
9376 | | - | |
| 9373 | + | |
| 9374 | + | |
9377 | 9375 | | |
9378 | 9376 | | |
9379 | 9377 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
268 | 269 | | |
269 | 270 | | |
270 | 271 | | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
271 | 280 | | |
272 | 281 | | |
273 | 282 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
0 commit comments