Bug #187

Incorrect modulus usage

Added by msk 3 months ago.

Status:New Start date:02/05/2012
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

# Committing periodically instead of using autocommit speeds the db up massively
if( $linesProcessed % 100 )

Probably want to commit every 100 lines, not 99 out of 100 like this does
A few lines below, a similar thing happens in backlog mode, which makes me wonder: does it make sense to commit every 100 lines when in backlog mode?

modulus.patch - Fix (726 Bytes) msk, 02/05/2012 12:46 pm

Also available in: Atom PDF