[Mono-bugs] [Bug 620860] Number Overflow inserting into sqlserver

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jul 8 12:39:28 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=620860

http://bugzilla.novell.com/show_bug.cgi?id=620860#c2


--- Comment #2 from scott fluto <srfcanada at hotmail.com> 2010-07-08 16:39:27 UTC ---
we actually had this problem with Double.Maxvalue and submitted a patch but it
was never implemented. THis was the patch that was previously submitted.

/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds70.cs
               private string FormatParameter (TdsMetaParameter parameter)
                {
                                .
                                .
                                .
                                .
                                .

                        case "float":
                                object paramV = parameter.Value;
                                value = ((double)paramV).ToString ("r");
                                break;
                                .
                                .
                                .
                                .
                }

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list