Program: 8753
Project: 8753
Buggy source:
@Override public long countDeleteChunks(List<String> chunkIds,long maxLastModifiedTime) throws Exception {
  long count=0;
  for (  List<String> chunk : Lists.partition(chunkIds,RDBJDBCTools.MAX_IN_CLAUSE)) {
    Connection con=this.ch.getRWConnection();
    PreparedStatement prepMeta=null;
    PreparedStatement prepData=null;
    try {
      PreparedStatementComponent inClause=RDBJDBCTools.createInStatement("String_Node_Str",chunk,false);
      StringBuilder metaStatement=new StringBuilder("String_Node_Str" + this.tnMeta + "String_Node_Str").append(inClause.getStatementComponent());
      StringBuilder dataStatement=new StringBuilder("String_Node_Str" + this.tnData + "String_Node_Str").append(inClause.getStatementComponent());
      if (maxLastModifiedTime > 0) {
        metaStatement.append("String_Node_Str");
        dataStatement.append("String_Node_Str" + this.tnMeta + "String_Node_Str");
      }
      prepMeta=con.prepareStatement(metaStatement.toString());
      prepData=con.prepareStatement(dataStatement.toString());
      int mindex=1, dindex=1;
      mindex=inClause.setParameters(prepMeta,mindex);
      dindex=inClause.setParameters(prepData,dindex);
      if (maxLastModifiedTime > 0) {
        prepMeta.setLong(mindex,maxLastModifiedTime);
        prepData.setLong(dindex,maxLastModifiedTime);
      }
      count+=prepMeta.executeUpdate();
      prepData.execute();
    }
  finally {
      closeStatement(prepMeta);
      closeStatement(prepData);
      con.commit();
      this.ch.closeConnection(con);
    }
  }
  return count;
}

Fixed version (ground truth):
@Override public long countDeleteChunks(List<String> chunkIds,long maxLastModifiedTime) throws Exception {
  long count=0;
  for (  List<String> chunk : Lists.partition(chunkIds,RDBJDBCTools.MAX_IN_CLAUSE)) {
    Connection con=this.ch.getRWConnection();
    PreparedStatement prepMeta=null;
    PreparedStatement prepData=null;
    try {
      PreparedStatementComponent inClause=RDBJDBCTools.createInStatement("String_Node_Str",chunk,false);
      StringBuilder metaStatement=new StringBuilder("String_Node_Str" + this.tnMeta + "String_Node_Str").append(inClause.getStatementComponent());
      StringBuilder dataStatement=new StringBuilder("String_Node_Str" + this.tnData + "String_Node_Str").append(inClause.getStatementComponent());
      if (maxLastModifiedTime > 0) {
        metaStatement.append("String_Node_Str");
        dataStatement.append("String_Node_Str" + this.tnMeta + "String_Node_Str");
      }
      prepMeta=con.prepareStatement(metaStatement.toString());
      prepData=con.prepareStatement(dataStatement.toString());
      int mindex=1, dindex=1;
      mindex=inClause.setParameters(prepMeta,mindex);
      dindex=inClause.setParameters(prepData,dindex);
      if (maxLastModifiedTime > 0) {
        prepMeta.setLong(mindex,maxLastModifiedTime);
        prepData.setLong(dindex,maxLastModifiedTime);
      }
      int deletedMeta=prepMeta.executeUpdate();
      int deletedData=prepData.executeUpdate();
      if (deletedMeta != deletedData) {
        String message=String.format("String_Node_Str",deletedMeta,deletedData);
        LOG.info(message);
      }
      count+=deletedMeta;
    }
  finally {
      closeStatement(prepMeta);
      closeStatement(prepData);
      con.commit();
      this.ch.closeConnection(con);
    }
  }
  return count;
}