Commit cdcf2ae9 authored by Davi Arnaut's avatar Davi Arnaut

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 
parent ec6e4ffa
...@@ -1490,7 +1490,7 @@ int ha_archive::info(uint flag) ...@@ -1490,7 +1490,7 @@ int ha_archive::info(uint flag)
stats.create_time= (ulong) file_stat.st_ctime; stats.create_time= (ulong) file_stat.st_ctime;
stats.update_time= (ulong) file_stat.st_mtime; stats.update_time= (ulong) file_stat.st_mtime;
stats.mean_rec_length= stats.records ? 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.max_data_file_length= MAX_FILE_SIZE;
} }
stats.delete_length= 0; stats.delete_length= 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment