diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-02-06 00:30:00 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-02-06 14:51:56 +0100 |
commit | 00855a62aba1afd9a7157ca29e0c2bc9476cb66c (patch) | |
tree | f9f2455abf95515f71e47ddb7f27e48f8eb9b7b2 /storage/myisam/myisamdef.h | |
parent | d429f6077034682c20bc38bfb081816ab72ea992 (diff) | |
download | mariadb-git-00855a62aba1afd9a7157ca29e0c2bc9476cb66c.tar.gz |
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*
Diffstat (limited to 'storage/myisam/myisamdef.h')
-rw-r--r-- | storage/myisam/myisamdef.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/myisam/myisamdef.h b/storage/myisam/myisamdef.h index ff12cb53dd9..c63baa13875 100644 --- a/storage/myisam/myisamdef.h +++ b/storage/myisam/myisamdef.h @@ -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; |