Program: 95970
Project: 95970
Buggy source:
@Test public void testScramblingNodeCreation() throws VerdictDBException, SQLException {
  String newSchemaName="String_Node_Str";
  String newTableName="String_Node_Str";
  String oldSchemaName="String_Node_Str";
  String oldTableName="String_Node_Str";
  int blockSize=2;
  ScramblingMethod method=new UniformScramblingMethod(blockSize);
  Map<String,String> options=new HashMap<>();
  options.put("String_Node_Str","String_Node_Str");
  options.put("String_Node_Str","String_Node_Str");
  String sql="String_Node_Str";
  DbmsConnection conn=new JdbcConnection(mysqlConn);
  DbmsQueryResult queryResult=conn.execute(sql);
  ScramblingNode node=ScramblingNode.create(newSchemaName,newTableName,oldSchemaName,oldTableName,method,options);
  List<ExecutionInfoToken> tokens=new ArrayList<>();
  ExecutionInfoToken e=new ExecutionInfoToken();
  e.setKeyValue(TableSizeCountNode.class.getSimpleName(),queryResult);
  tokens.add(e);
  e=new ExecutionInfoToken();
  e.setKeyValue("String_Node_Str",newSchemaName);
  e.setKeyValue("String_Node_Str",newTableName);
  tokens.add(e);
  SqlConvertible query=node.createQuery(tokens);
  sql=QueryToSql.convert(new MysqlSyntax(),query);
  String expected="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  assertEquals(expected,sql);
  mysqlConn.createStatement().execute("String_Node_Str");
  mysqlConn.createStatement().execute(sql);
}

Fixed version (ground truth):
@Test public void testScramblingNodeCreation() throws VerdictDBException, SQLException {
  String newSchemaName="String_Node_Str";
  String newTableName="String_Node_Str";
  String oldSchemaName="String_Node_Str";
  String oldTableName="String_Node_Str";
  int blockSize=2;
  ScramblingMethod method=new UniformScramblingMethod(blockSize);
  Map<String,String> options=new HashMap<>();
  options.put("String_Node_Str","String_Node_Str");
  options.put("String_Node_Str","String_Node_Str");
  String sql="String_Node_Str";
  DbmsConnection conn=new JdbcConnection(mysqlConn);
  DbmsQueryResult queryResult=conn.execute(sql);
  ScramblingNode node=ScramblingNode.create(newSchemaName,newTableName,oldSchemaName,oldTableName,method,options);
  List<ExecutionInfoToken> tokens=new ArrayList<>();
  ExecutionInfoToken e=new ExecutionInfoToken();
  e.setKeyValue(TableSizeCountNode.class.getSimpleName(),queryResult);
  tokens.add(e);
  e=new ExecutionInfoToken();
  e.setKeyValue("String_Node_Str",newSchemaName);
  e.setKeyValue("String_Node_Str",newTableName);
  tokens.add(e);
  e=new ExecutionInfoToken();
  List<Pair<String,String>> columnNamesAndTypes=new ArrayList<>();
  columnNamesAndTypes.add(Pair.of("String_Node_Str","String_Node_Str"));
  e.setKeyValue(ScramblingPlan.COLUMN_METADATA_KEY,columnNamesAndTypes);
  tokens.add(e);
  SqlConvertible query=node.createQuery(tokens);
  sql=QueryToSql.convert(new MysqlSyntax(),query);
  String expected="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  assertEquals(expected,sql);
  mysqlConn.createStatement().execute("String_Node_Str");
  mysqlConn.createStatement().execute(sql);
}