public void add ( final int revisionID , final long revisionPrimaryKey , final long fullRevisionPrimaryKey ) { boolean sql = ! insertStatement . isEmpty ( ) ; if ( sql && buffer . length ( ) != insertStatement . length ( ) ) { this . buffer . append ( "," ) ; } this . buffer . append ( ( sql ? "(" : "" ) + revisionID + "," + revisionPrimaryKey + "," + fullRevisionPrimaryKey + ( sql ? ")" : "" ) ) ; if ( ! sql ) { buffer . append ( "\n" ) ; } if ( buffer . length ( ) + 100 >= MAX_ALLOWED_PACKET ) { storeBuffer ( ) ; } }
Adds the information for an new entry in the revision index .