[MDEV-32999] ERROR 138 instead of warning, and potential error masking Created: 2023-12-12 Updated: 2024-01-24 Resolved: 2024-01-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Create Table |
| Affects Version/s: | N/A |
| Fix Version/s: | 11.4.1 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Roel Van de Paar | Assignee: | Yuchen Pei |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
Leads to, on base:
Versus the patch:
Two issues: |
| Comments |
| Comment by Yuchen Pei [ 2023-12-13 ] | |||||||||||
|
This issue has nothing to do with spider, as spider is simply using What happens is the value of THD::abort_on_warning during table When one executes a CREATE TABLE without table structure, i.e. without When one executes a (more common) CREATE TABLE with table See the following example in
So this is either intended behaviour or a server layer bug. I am | |||||||||||
| Comment by Roel Van de Paar [ 2023-12-16 ] | |||||||||||
|
IMHO this is a regression. Here are my reasons:
At the command line will produce:
Versus
Is this case too the failure reason is not the ERROR 138 COMMENT/CONNECTION depreciation, and ERROR 12702 is the correct reason for failure. | |||||||||||
| Comment by Yuchen Pei [ 2024-01-22 ] | |||||||||||
|
Hi holyfoot, ptal thanks
This commit will be squashed into that of
| |||||||||||
| Comment by Alexey Botchkov [ 2024-01-22 ] | |||||||||||
|
ok to push. | |||||||||||
| Comment by Yuchen Pei [ 2024-01-22 ] | |||||||||||
|
Thanks for the review. Roel: no problem. Can you test the squashed | |||||||||||
| Comment by Roel Van de Paar [ 2024-01-23 ] | |||||||||||
|
Confirmed resolved nicely: | |||||||||||
| Comment by Yuchen Pei [ 2024-01-24 ] | |||||||||||
|
Thanks Roel, pushed 20741b92370ee48843d6101b6d6eaecab58ba41a to 11.4 |