Bug #302 | Calling a procedure with a subselect as argument cause crash | ||
---|---|---|---|
Submitted: | 17 Apr 2003 4:54 | Modified: | 23 Apr 2003 12:32 |
Reporter: | Per-Erik Martin | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 5.0 | OS: | Any (All) |
Assigned to: | Oleksandr Byelkin | CPU Architecture: | Any |
[17 Apr 2003 4:54]
Per-Erik Martin
[23 Apr 2003 7:40]
Per-Erik Martin
This is partially fixed: call u((select 1)) now works. But this still crashes (should either work or return an error message): call u((select x from table limit 1)) This should always return an error message: call u((select x,y from table limit 1)) # 2 fields This should either always return an error message, or only when returning more than one row: call u((select x from table)) # 1+ rows? If nothing else works, simply return an error message for all subselects, rather than getting core dumps for some.