[MDEV-29623] Bogus ER_OUT_OF_RESOURCES upon LEFT JOIN from spider and non-spider table Created: 2022-09-24 Updated: 2023-11-28 |
|
| Status: | Stalled |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Spider |
| Affects Version/s: | 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Yuchen Pei |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Reproducible on all of 10.3-10.10, with MyISAM or Aria for the joining table. |
| Comments |
| Comment by Nayuta Yanagisawa (Inactive) [ 2022-09-26 ] | ||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||
| Comment by Nayuta Yanagisawa (Inactive) [ 2022-09-26 ] | ||||||||||||||||||||||||||||||||||||||
|
HA_ERR_OUT_OF_MEM is set here
because has_value() returns false.
| ||||||||||||||||||||||||||||||||||||||
| Comment by Nayuta Yanagisawa (Inactive) [ 2022-09-26 ] | ||||||||||||||||||||||||||||||||||||||
|
Item::val_str() returns NULL if and only if the Item represents NULL. So, returning HA_ERR_OUT_OF_MEM is wrong when Item::val_str() returns NULL. | ||||||||||||||||||||||||||||||||||||||
| Comment by Yuchen Pei [ 2023-05-16 ] | ||||||||||||||||||||||||||||||||||||||
|
Never mind, I noticed ERROR HY000: Out of memory. in the test result at the 11.1 commit mentioned above |