private static void indent_DisplayResults(
      PrintStream out,
      Statement stmt,
      Connection conn,
      int indentLevel,
      int[] displayColumns,
      int[] displayColumnWidths)
      throws SQLException {

    checkNotNull(stmt, "Statement");

    ResultSet rs = stmt.getResultSet();
    if (rs != null) {
      indent_DisplayResults(out, rs, conn, indentLevel, displayColumns, displayColumnWidths);
      rs.close(); // let the result set go away
    } else {
      DisplayUpdateCount(out, stmt.getUpdateCount(), indentLevel);
    }

    ShowWarnings(out, stmt);
  } // DisplayResults