1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

cleanup: my_off_t mmaped_length -> size_t

all mmap-related functions take size_t lengh.
mmaped_length was casted to size_t *every single time*
This commit is contained in:
Sergei Golubchik
2018-02-06 00:30:00 +01:00
parent d429f60770
commit 00855a62ab
5 changed files with 7 additions and 9 deletions

View File

@@ -224,7 +224,7 @@ typedef struct st_mi_isam_share
THR_LOCK lock;
mysql_mutex_t intern_lock; /* Locking for use with _locking */
mysql_rwlock_t *key_root_lock;
my_off_t mmaped_length;
size_t mmaped_length;
uint nonmmaped_inserts; /* counter of writing in non-mmaped
area */
mysql_rwlock_t mmap_lock;