Re: [Tracker] [PATCH] fix the move to an existing file



On 8/7/07, Marcus Fritzsch <fritschy googlemail com> wrote:
This one fixes (so I hope) the move to an existing file for the
tracker database by deleting the moved-to file first.

I tested it and w/o that fix an error is printed* and the overwritten
file is not removed from the database. With this fix it works as
expected.

* ERROR: execution of prepared query UpdateFileMove failed due to
columns Path, Name are not unique with return code 1

EEK - this one introduces a bug, when having trackerd running with the
fix it was all pretty normal, at some point however db_con became NULL
and trackerd hang in an endless loop of SIGSEGV.

Kind regards, Marcus



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