mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
type conversions fixed to avoid warnings on Windows
myisam/mi_write.c: type conversion fixed myisam/sort.c: type conversion fixed sql/ha_federated.cc: type conversion fixed sql/ha_heap.cc: type conversion fixed sql/ha_innodb.cc: type conversion fixed sql/ha_myisam.cc: type conversion fixed sql/opt_range.cc: type conversion fixed sql/sql_map.cc: type conversion fixed sql/sql_select.cc: type conversion fixed sql/sql_update.cc: type conversion fixed
This commit is contained in:
parent
578c238600
commit
e1dc86b079
10 changed files with 19 additions and 19 deletions
|
|
@ -175,7 +175,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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue