[mono-android] Using SqliteDataAdapter to fill DataTable

Liam liamhoulahan at gmail.com
Tue Mar 22 16:37:43 EDT 2011


Hi Jon

Thanks for your reply. I don't mind helping. From that link you gave me 
I take that I need to get the mono source and build the Sqlite assembly 
using the MonoDroid profile.
So to get it to work with MonoDroid do I need to look in to the 
functions and how to rewrite them so that they don't use the function(s) 
that you have mentioned?

Liam

On 23/03/2011 1:40 a.m., Jonathan Pryor wrote:
> On Mar 22, 2011, at 4:39 AM, Liam wrote:
>> I am trying to use an SqliteDataAdapter to fill a DataTable
> Give up now. :-)
>
> 	https://bugzilla.novell.com/show_bug.cgi?id=677096
>
>> I did however find that there was a bug in MonoTouch
>> https://bugzilla.novell.com/show_bug.cgi?id=579292 that looks very
>> similar to this.
> They are, in fact, the same bug: libsqlite.so (Android) and libsqlite.dylib (OSX, and presumably iOS though I haven't tested there) are missing the function sqlite3_column_origin_name(). The only fix is to rewrite parts of Mono.Data.Sqlite so that sqlite3_column_origin_name() (and other functions) aren't used.
>
>> So is this a bug? If yes is it known to be a bug and is it going to be
>> fixed?
> It will not be fixed for 1.0. There is no current time frame for fixing it, other than "when I get around to it."
>
> If you would like to help assist... ;-)
>
> It is possible to build parts of Mono for use in Mono for Android projects; see:
>
> 	http://lists.ximian.com/mailman/private/monodroid/2011-February/003126.html
>
>   - Jon
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid


More information about the Monodroid mailing list