On Tue, 21 Jun 2011 00:42:46 -0230 Lawrence @ Rogers wrote: > On 20/06/2011 11:55 PM, Dave Wreski wrote: > > Hi, > > > >>> I have an existing v3.3.2 on fedora14 (perl v5.12.3) that I'm > >>> trying to convert bayes to use mysql. The restore process fails > >>> after a few minutes due to too many errors: > >>> > >>> dbg: bayes: error inserting token for line: t 1 0 1308114254 > >>> 4fd2b3f2f0 dbg: bayes: _put_token: Updated an unexpected number > >>> of rows. [repeats ...]
> I don't know what to tell you. I've never seen this issue myself, it > sounds like a corrupt backup or bug in the restore. I doubt there's anything wrong with the back-up, the line looks OK and "unexpected number of rows" is referring to database table rows. From a quick look at the code it looks like it's expecting 0 for an update failure, 1 for a new token and 2 for a token update, but it's getting an expected value.