Commit 63368b8
committed
Add MySQL INT type display width and SHOW CREATE TEMPORARY TABLE support
- Handle MySQL-compatible INT types (INT, TINYINT, SMALLINT, MEDIUMINT,
BIGINT) by ignoring the display width parameter like INT(11)
- Handle UNSIGNED and SIGNED modifiers for INT types, appending them
to the type name
- Fix SHOW CREATE TEMPORARY TABLE parsing to skip TEMPORARY keyword
Fixes 20 statements in 02271_int_sql_compatibility test.1 parent b3b61bf commit 63368b8
2 files changed
Lines changed: 28 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3226 | 3226 | | |
3227 | 3227 | | |
3228 | 3228 | | |
| 3229 | + | |
| 3230 | + | |
| 3231 | + | |
| 3232 | + | |
| 3233 | + | |
| 3234 | + | |
| 3235 | + | |
| 3236 | + | |
| 3237 | + | |
| 3238 | + | |
| 3239 | + | |
| 3240 | + | |
| 3241 | + | |
| 3242 | + | |
| 3243 | + | |
| 3244 | + | |
| 3245 | + | |
| 3246 | + | |
| 3247 | + | |
| 3248 | + | |
| 3249 | + | |
| 3250 | + | |
| 3251 | + | |
3229 | 3252 | | |
3230 | 3253 | | |
3231 | 3254 | | |
| |||
4426 | 4449 | | |
4427 | 4450 | | |
4428 | 4451 | | |
4429 | | - | |
| 4452 | + | |
| 4453 | + | |
| 4454 | + | |
| 4455 | + | |
4430 | 4456 | | |
4431 | 4457 | | |
4432 | 4458 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 1 | + | |
0 commit comments