Source:
<code>public static void SYSCS_GET_GLOBAL_DATABASE_PROPERTY(final String key,final ResultSet[] resultSet) throws SQLException{ List<HostAndPort> servers; try { servers = EngineDriver.driver().getServiceDiscovery().listServers(); } catch (IOException e) { throw PublicAPI.wrapStandardException(Exceptions.parseException(e)); } List<ExecRow> rows = new ArrayList<>(); for (HostAndPort server : servers) { try (Connection connection = RemoteUser.getConnection(server.toString())) { try (PreparedStatement ps = connection.prepareStatement("values SYSCS_UTIL.SYSCS_GET_DATABASE_PROPERTY(?)")) { ps.setString(1, key); try (ResultSet rs = ps.executeQuery()) { while (rs.next()) { <START> ExecRow row = new ValueRow(1); <END> row.setColumn(1, new SQLVarchar(server.toString())); row.setColumn(2, new SQLVarchar(rs.getString(1))); rows.add(row); } } }; } } GenericColumnDescriptor[] descriptors = { new GenericColumnDescriptor("HOST_NAME", DataTypeDescriptor.getBuiltInDataTypeDescriptor(Types.VARCHAR, 120)), new GenericColumnDescriptor("PROPERTY_VALUE", DataTypeDescriptor.getBuiltInDataTypeDescriptor(Types.VARCHAR, 120)), }; EmbedConnection conn = (EmbedConnection)getDefaultConn(); LanguageConnectionContext lcc = conn.getLanguageConnection(); Activation lastActivation = conn.getLanguageConnection().getLastActivation(); IteratorNoPutResultSet resultsToWrap = new IteratorNoPutResultSet(rows, descriptors, lastActivation); try { resultsToWrap.openCore(); } catch (StandardException se) { throw PublicAPI.wrapStandardException(se); } resultSet[0] = new EmbedResultSet40(conn, resultsToWrap, false, null, true); }</code><technical_language>ValueRow initialized 2 fields instead of 1</technical_language>

Target:
public static void SYSCS_GET_GLOBAL_DATABASE_PROPERTY(final String key,final ResultSet[] resultSet) throws SQLException{ List<HostAndPort> servers; try { servers = EngineDriver.driver().getServiceDiscovery().listServers(); } catch (IOException e) { throw PublicAPI.wrapStandardException(Exceptions.parseException(e)); } List<ExecRow> rows = new ArrayList<>(); for (HostAndPort server : servers) { try (Connection connection = RemoteUser.getConnection(server.toString())) { try (PreparedStatement ps = connection.prepareStatement("values SYSCS_UTIL.SYSCS_GET_DATABASE_PROPERTY(?)")) { ps.setString(1, key); try (ResultSet rs = ps.executeQuery()) { while (rs.next()) { ExecRow row = new ValueRow(2); row.setColumn(1, new SQLVarchar(server.toString())); row.setColumn(2, new SQLVarchar(rs.getString(1))); rows.add(row); } } }; } } GenericColumnDescriptor[] descriptors = { new GenericColumnDescriptor("HOST_NAME", DataTypeDescriptor.getBuiltInDataTypeDescriptor(Types.VARCHAR, 120)), new GenericColumnDescriptor("PROPERTY_VALUE", DataTypeDescriptor.getBuiltInDataTypeDescriptor(Types.VARCHAR, 120)), }; EmbedConnection conn = (EmbedConnection)getDefaultConn(); LanguageConnectionContext lcc = conn.getLanguageConnection(); Activation lastActivation = conn.getLanguageConnection().getLastActivation(); IteratorNoPutResultSet resultsToWrap = new IteratorNoPutResultSet(rows, descriptors, lastActivation); try { resultsToWrap.openCore(); } catch (StandardException se) { throw PublicAPI.wrapStandardException(se); } resultSet[0] = new EmbedResultSet40(conn, resultsToWrap, false, null, true); }