[Mono-list] Mono Sqlite driver leaking file handles

Daniel Hughes trampster at gmail.com
Mon Sep 17 21:48:09 UTC 2012


I'm sorry, but that's wrong

Mono.Data.Sqlite != System.Data.Sqlite

Mono.Data.Sqlite is in the mono source tree and is maintained by the mono
project.

System.Data.Sqlite embeds the native code and is quite different.

I would however question monos commitment to it because it fails to run at
all on .net 40 (windows). https://bugzilla.xamarin.com/show_bug.cgi?id=2148

I have had to build my own version of it with a fix so Wide Margin will run
on windows.

On Tue, Sep 18, 2012 at 7:38 AM, Abe Gillespie <abe.gillespie at gmail.com>wrote:

> I posted a link to the .Net driver code.  I'm assuming it's something
> in the driver as well.
>
> On Mon, Sep 17, 2012 at 2:59 PM, Maurício Linhares
> <mauricio.linhares at gmail.com> wrote:
> > Well, I do not know if this is an issue at the SQLIte native code and
> I'd probably consider it isn't, since this doesn't happen in another app I
> have that also uses SQLite from Objective-C;
> >
> > What I want is to be able to build the mono driver and see if the issue
> is at the driver implementation. If it isn't, then it would be a SQLite
> issue.
> >
> > -
> > Maurício Linhares
> > http://mauricio.github.com/ - http://twitter.com/#!/mauriciojr
> >
> >
> >
> > On Monday, September 17, 2012 at 3:57 PM, Abe Gillespie wrote:
> >
> >> Mono project itself doesn't develop the sqlite driver; it simply ships
> >> it. You might do better by going to the original publisher here:
> >>
> >> http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki
> >>
> >> -Abe
> >>
> >> On Mon, Sep 17, 2012 at 1:03 PM, Maurício Linhares
> >> <mauricio.linhares at gmail.com (mailto:mauricio.linhares at gmail.com)>
> wrote:
> >> > Hello guys,
> >> >
> >> > I just found myself suffering from this bug -
> https://bugzilla.xamarin.com/show_bug.cgi?id=2915 and wanted to debug it
> and see if I could fix it myself.
> >> >
> >> > I cloned the Mono repo from github and tried to open the SQLite
> driver piece and the project doesn't compile due to a missing "Consts.cs"
> file:
> >> >
> >> > Error CS2001: Source file
> `/Users/mauricio/projects/mono/mono/mcs/build/common/Consts.cs' could not
> be found (CS2001) (Mono.Data.Sqlite-net_4_0)
> >> >
> >> > Should this file be here somewhere? Is it a generated file?
> >> >
> >> > -
> >> > Maurício Linhares
> >> > http://mauricio.github.com/ - http://twitter.com/#!/mauriciojr
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > Mono-list maillist - Mono-list at lists.ximian.com (mailto:
> Mono-list at lists.ximian.com)
> >> > http://lists.ximian.com/mailman/listinfo/mono-list
> >>
> >
> >
> >
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20120918/dc2875f5/attachment.html>


More information about the Mono-list mailing list