[mono-android] Using SqliteDataAdapter to fill DataTable

Jonathan Pryor jpryor at novell.com
Tue Mar 22 08:40:06 EDT 2011


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



More information about the Monodroid mailing list