[Mono-dev] [PATCH] SqliteDataReader should handle getting field type for null values
Kamil Skalski
kamil.skalski at gmail.com
Tue Mar 7 16:21:44 EST 2006
Hi!
I encountered NullReferenceException from SqliteDataReader, when I
have a query like
select a, b, NULL, c, FROM xxx
and I try to use reader.GetFieldType (2) for fetching info about
columns (actually DataAdapter from MS.NET calls this method for every
column in result)
I attach a patch (test included) for fixing this. It works great in my
app and it would be nice to have it official :)
May I commit?
--
Kamil Skalski
http://nazgul.omega.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msqlit.patch
Type: text/x-patch
Size: 2470 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060307/073f1bb8/attachment.bin
More information about the Mono-devel-list
mailing list