Bug #10129 | Mathematical function with 18 input variables returns null | ||
---|---|---|---|
Submitted: | 24 Apr 2005 16:34 | Modified: | 10 Aug 2005 11:45 |
Reporter: | Nikos Sarris | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: User-defined functions ( UDF ) | Severity: | S2 (Serious) |
Version: | 5.0.4-beta | OS: | Windows (WinXP Pro SP2) |
Assigned to: | Alexey Botchkov | CPU Architecture: | Any |
[24 Apr 2005 16:34]
Nikos Sarris
[24 Apr 2005 18:02]
Jorge del Conde
Neither our console client nor query browser returned NULL: mysql> SELECT f_M2(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1) -> // +-------------------------------------------+ | f_M2(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1) | +-------------------------------------------+ | -108.87359619141 | +-------------------------------------------+ This was tested on 5.0.5 from bk
[24 Apr 2005 20:34]
Hartmut Holzgraefe
seems to be a windows only bug, 5.0.4 on linux gives the expected result
[24 Apr 2005 20:39]
Nikos Sarris
Here's the imyodbc output +---------------------------------------+ | Connected! | | | | sql-statement | | help [tablename] | | quit | | | +---------------------------------------+ SQL> SELECT f_M2(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1) +------------------------------------------+ | f_M2(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)| +------------------------------------------+ | | +------------------------------------------+ SQLRowCount returns 1 1 rows fetched
[10 Aug 2005 11:45]
Alexey Botchkov
Tried this with 5.0.7 on WinXP. The SELECT You suggested produced proper result. Probably the error was fixed meanwhile.