diff options
author | unknown <gkodinov/kgeorge@macbook.local> | 2007-09-21 10:15:16 +0200 |
---|---|---|
committer | unknown <gkodinov/kgeorge@macbook.local> | 2007-09-21 10:15:16 +0200 |
commit | 92771001b3ac1b29bd3587e05bae93b3a35cb030 (patch) | |
tree | c0646efb7b78935b17aa1ecf56230f83916fb8cd /storage/heap | |
parent | c9f5a087f5d0a789286aed8dded9d5813cbf1bb7 (diff) | |
download | mariadb-git-92771001b3ac1b29bd3587e05bae93b3a35cb030.tar.gz |
fixed type conversion warnings revealed by bug 30639
Diffstat (limited to 'storage/heap')
-rw-r--r-- | storage/heap/ha_heap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/heap/ha_heap.cc b/storage/heap/ha_heap.cc index 4934792de80..601d4612dda 100644 --- a/storage/heap/ha_heap.cc +++ b/storage/heap/ha_heap.cc @@ -197,7 +197,7 @@ void ha_heap::update_key_stats() else { ha_rows hash_buckets= file->s->keydef[i].hash_buckets; - uint no_records= hash_buckets ? file->s->records/hash_buckets : 2; + uint no_records= hash_buckets ? (uint) (file->s->records/hash_buckets) : 2; if (no_records < 2) no_records= 2; key->rec_per_key[key->key_parts-1]= no_records; |