[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] SQL logic error, SQLite restore problems, etc.
From: |
Ralf S. Engelschall |
Subject: |
Re: [Monotone-devel] SQL logic error, SQLite restore problems, etc. |
Date: |
Tue, 4 Sep 2007 14:48:56 +0200 |
User-agent: |
Mutt/1.5.16 OpenPKG/CURRENT (2007-06-09) |
On Tue, Sep 04, 2007, Patrick Georgi wrote:
> Ralf S. Engelschall wrote:
>> 1. copying repository via raw SQLite dump/restore fails
>> ----------------------------------------------------
>>
>> This is actually an SQLite problem (and I will forward to the SQLite
>> community, too), nevertheless you should be aware here, too. A
>> simple...
>>
>> | $ sqlite3 openpkg-import.db .dump | sqlite3 openpkg-copy.db
>>
>> ...fails with lots of errors like:
>>
> how about using mtn db dump | mtn db load instead?
Ah, interesting:
$ mtn --db=openpkg-import.db db dump |\
mtn --db=openpkg-work.db db load
This works as expected. So, seems like the problem is the input buffer
handling the the sqlite3(1) command-line tool only.
Ralf S. Engelschall
address@hidden
www.engelschall.com
- [Monotone-devel] SQL logic error, SQLite restore problems, etc., Ralf S. Engelschall, 2007/09/04
- Re: [Monotone-devel] SQL logic error, SQLite restore problems, etc., Patrick Georgi, 2007/09/04
- Re: [Monotone-devel] SQL logic error, SQLite restore problems, etc.,
Ralf S. Engelschall <=
- Re: [Monotone-devel] SQL logic error, SQLite restore problems, etc., Derek Scherger, 2007/09/05
- Re: [Monotone-devel] SQL logic error, SQLite restore problems, etc., Ralf S. Engelschall, 2007/09/20