Apply patch on behalf of Magnus:

3325 Magnus Blåudd    2010-01-05
     Bug #49860 new compiler warning ha_archive
      - fix compiler warning by casting to ulong
This commit is contained in:
Davi Arnaut 2010-01-20 22:22:20 -02:00
parent 45d2799a15
commit 9eae1881b3

View file

@ -1490,7 +1490,7 @@ int ha_archive::info(uint flag)
stats.create_time= (ulong) file_stat.st_ctime;
stats.update_time= (ulong) file_stat.st_mtime;
stats.mean_rec_length= stats.records ?
stats.data_file_length / stats.records : table->s->reclength;
ulong(stats.data_file_length / stats.records) : table->s->reclength;
stats.max_data_file_length= MAX_FILE_SIZE;
}
stats.delete_length= 0;