monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] SQLite bug on commit


From: Jérôme Marant
Subject: Re: [Monotone-devel] SQLite bug on commit
Date: Wed, 1 Dec 2004 16:55:52 +0100 (CET)
User-agent: SquirrelMail/1.4.3a

(I'm subscribed now)

> On Tue, Nov 30, 2004 at 01:45:24PM +0100, Jérôme Marant wrote:
>> $ monotone --db=~/test/xemacs-beta.db add *
>>
>> $ monotone --branch=org.jm.xemacs-beta commit 'Initial import'
>> monotone: beginning commit
>> monotone: manifest 2868ec6fed3941898571563d24871d9e0cfa50cc
>> monotone: revision 948df728c4b76224367e7b1bc8e65890f6d6d82f
>> monotone: branch org.jm.xemacs-beta
>> monotone: discarding debug log
>> monotone: fatal: std::runtime_error: sqlite exec error too much data for
>> one table row
>
> How big is the largest file you added? I think the
> underlying sqlite database has a 16 meg row length limit, so
> files larger than that probably can't be committed. The
> actual limit for files might differ since they get gzipped
> and base64 encoded before adding to the database.
>
> I believe that sqlite3 (which hopefully will become part of
> Monotone soon) should fix that issue.

The biggest file is 3 Megs large so I don't think the maximum
row limit has been reached.

After investigating a bit, I decided to rebuild monotone with
CFLAGS="-g" instead of the default "-O2 -fno-strict-aliasing".
The problem disappeared. (g++ 3.3.3 here)

Regards,

-- 
Jérôme Marant





reply via email to

[Prev in Thread] Current Thread [Next in Thread]