diff options
author | Alexander Nozdrin <alik@sun.com> | 2009-12-17 22:16:54 +0300 |
---|---|---|
committer | Alexander Nozdrin <alik@sun.com> | 2009-12-17 22:16:54 +0300 |
commit | 0e3a80e0a851822112226e5e792320389aa0f2ae (patch) | |
tree | ff7694d43f6a555d626904a5e76d66755c22f43d /include/myisam.h | |
parent | cc85fe239dd14088b2f326f263765612b03e8f61 (diff) | |
parent | 53da51de9d8fc607063e131cc32361f39d95ac2d (diff) | |
download | mariadb-git-0e3a80e0a851822112226e5e792320389aa0f2ae.tar.gz |
Manual merge from mysql-trunk-merge.
Conflicts:
- storage/myisam/mi_packrec.c
Diffstat (limited to 'include/myisam.h')
-rw-r--r-- | include/myisam.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/myisam.h b/include/myisam.h index 194f0dd806a..e9d1e4ab43e 100644 --- a/include/myisam.h +++ b/include/myisam.h @@ -259,6 +259,8 @@ extern ulong myisam_bulk_insert_tree_size, myisam_data_pointer_size; /* usually used to check if a symlink points into the mysql data home */ /* which is normally forbidden */ extern int (*myisam_test_invalid_symlink)(const char *filename); +extern ulonglong myisam_mmap_size, myisam_mmap_used; +extern pthread_mutex_t THR_LOCK_myisam_mmap; /* Prototypes for myisam-functions */ @@ -304,6 +306,7 @@ extern int mi_delete_all_rows(struct st_myisam_info *info); extern ulong _mi_calc_blob_length(uint length , const uchar *pos); extern uint mi_get_pointer_length(ulonglong file_length, uint def); +#define MEMMAP_EXTRA_MARGIN 7 /* Write this as a suffix for mmap file */ /* this is used to pass to mysql_myisamchk_table */ #define MYISAMCHK_REPAIR 1 /* equivalent to myisamchk -r */ |