[Csync2] sqlite3 and _FILE_OFFSET_BITS=64 commited
Michael Mansour
mic at npgx.com.au
Tue Aug 12 08:46:22 CEST 2008
Hi,
> On Mon, Aug 11, 2008 at 05:48:30PM +0200, Art -kwaak- van Breemen wrote:
> > On Thu, Jun 19, 2008 at 04:38:06PM +0200, Lars Ellenberg wrote:
> > > this is now committed as revision 399.
> > > please, anyone in the position to do so,
> > > try it and report any observations.
> >
> > I've noticed that it works with:
> > 3.2.1-1 (debian/sarge)
> > 3.5.9-2 (debian/sid)
> > but that it doesn't work with:
> >
> > 3.3.8-1.1 (debian/etch)
> >
> > > thanks again to Art van Breemen.
> > Sorry!
> >
> > Rationale to the patch:
> > http://www.sqlite.org/c3ref/prepare.html
> > It talks about nByte < 0, and nByte not negative. So 0 is not
> > really good defined.
> >
> > The patch is self explanatory I gues.
> >
> > --
> > A: Because it messes up the order in which people normally read text.
> > Q: Why is top-posting such a bad thing?
> > A: Top-posting.
> > Q: What is the most annoying thing in email?
>
> > --- trunk/db.c 2008-06-20 13:52:03.000000000 +0200
> > +++ build/db.c 2008-08-11 17:37:29.000000000 +0200
> > @@ -248,7 +248,7 @@
> >
> > while (1) {
> > IFESQL3(
> > - rc = sqlite3_prepare(db, sql, 0, &stmt, 0);,
> > + rc = sqlite3_prepare(db, sql, -1, &stmt, 0);,
> > rc = sqlite_compile(db, sql, 0, &vm, 0);
> > )
> > if ( rc != SQLITE_BUSY ) break;
>
> thanks. committed
Any ideas when the next csync2 will be released with support for SQLite 3?
I can test the above on test servers but on production servers I can't, so
wouldn't mind installing a full 1.35 release.
Thanks.
Michael.
More information about the Csync2
mailing list