Bug #8397 | crash, DECIMAL column = NULL in outer query | ||
---|---|---|---|
Submitted: | 9 Feb 2005 15:38 | Modified: | 7 Mar 2005 21:53 |
Reporter: | Matthias Leich | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0 | OS: | |
Assigned to: | Sergey Petrunya | CPU Architecture: | Any |
[9 Feb 2005 15:38]
Matthias Leich
[9 Feb 2005 15:50]
Matthias Leich
test case
Attachment: ml20.test (application/test, text), 3.23 KiB.
[9 Feb 2005 17:09]
Jorge del Conde
Thanks for your bug report!
[17 Feb 2005 20:56]
Sergey Petrunya
Comment re fix: In Item_cache_decimal::store(item) the call item->val_decimal_result() returns NULL if the passed item has an SQL null value. Don't try copying NULL into Item_cache_decimal::val in this case. will change the cset comment to the above when pushing the fix.
[22 Feb 2005 19:23]
Sergey Petrunya
Fixed in 5.0.3 Note to docs team: the bug happened on decimal column values passed out of subselects.
[7 Mar 2005 21:53]
Paul DuBois
Noted in 5.0.3 changelog.