~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/myisampack.c

  • Committer: Brian Aker
  • Date: 2008-07-13 22:45:08 UTC
  • Revision ID: brian@tangent.org-20080713224508-hb20z4okblotb39a
longlong replacement

Show diffs side-by-side

added added

removed removed

Lines of Context:
736
736
  {
737
737
    if (old_length)
738
738
      VOID(printf("%.4g%%     \n",
739
 
                  (((longlong) (old_length - new_length)) * 100.0 /
740
 
                   (longlong) old_length)));
 
739
                  (((int64_t) (old_length - new_length)) * 100.0 /
 
740
                   (int64_t) old_length)));
741
741
    else
742
742
      puts("Empty file saved in compressed format");
743
743
  }
1121
1121
      {
1122
1122
        total_count+= count->counts[idx];
1123
1123
        DBUG_PRINT("info", ("counts[0x%02x]: %12s", idx,
1124
 
                            llstr((longlong) count->counts[idx], llbuf)));
 
1124
                            llstr((int64_t) count->counts[idx], llbuf)));
1125
1125
        if (verbose >= 2)
1126
1126
          VOID(printf("counts[0x%02x]: %12s\n", idx,
1127
 
                      llstr((longlong) count->counts[idx], llbuf)));
 
1127
                      llstr((int64_t) count->counts[idx], llbuf)));
1128
1128
      }
1129
1129
    }
1130
 
    DBUG_PRINT("info", ("total:        %12s", llstr((longlong) total_count,
 
1130
    DBUG_PRINT("info", ("total:        %12s", llstr((int64_t) total_count,
1131
1131
                                                    llbuf)));
1132
1132
    if ((verbose >= 2) && total_count)
1133
1133
    {
1134
1134
      VOID(printf("total:        %12s\n",
1135
 
                  llstr((longlong) total_count, llbuf)));
 
1135
                  llstr((int64_t) total_count, llbuf)));
1136
1136
    }
1137
1137
  }
1138
1138
 
2768
2768
                 my_progname, error));
2769
2769
  }
2770
2770
  if (verbose >= 2)
2771
 
    VOID(printf("wrote %s records.\n", llstr((longlong) record_count, llbuf)));
 
2771
    VOID(printf("wrote %s records.\n", llstr((int64_t) record_count, llbuf)));
2772
2772
 
2773
2773
  my_afree((uchar*) record);
2774
2774
  mrg->ref_length=max_pack_length;