SCM

[#1010595] Array handling exception

View Trackers | Patches | Download .csv | Monitor

Date:
2009-04-13 20:48
Priority:
3
State:
Open
Submitted by:
Rikard Pavelic (rikard)
Assigned to:
Nobody (None)
Category:
Group:
Resolution:
None
 
Summary:
Array handling exception

Detailed description
In ArrayHandling.cs
Function WriteItem(NpgsqlNativeTypeInfo TypeInfo, object item, StringBuilder sb)
should start with
if (item == null)
{
sb.Append("NULL");
return true;
}
else

or exception will be thrown if object like

List<int?> x=new List<int?>();
x.add(1);
x.add(null);

is sent as parameter.

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item

Powered By FusionForge