summaryrefslogtreecommitdiff
path: root/storage/myisam/myisamdef.h
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2010-11-05 12:37:51 +0200
committerMichael Widenius <monty@askmonty.org>2010-11-05 12:37:51 +0200
commitc670b9021e782ead4cdd0d20ead2421367626ea5 (patch)
tree4178c9a4656d1df6bfbabc07b9962deb25d57ab5 /storage/myisam/myisamdef.h
parentfdd6963890d5cd793155d135c3fa321ecb5b704d (diff)
parent7647c2744c95f23fa7a1f4aec98359f5a9a55e01 (diff)
downloadmariadb-git-c670b9021e782ead4cdd0d20ead2421367626ea5.tar.gz
Automerge with 5.2
Diffstat (limited to 'storage/myisam/myisamdef.h')
-rw-r--r--storage/myisam/myisamdef.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/storage/myisam/myisamdef.h b/storage/myisam/myisamdef.h
index 846be8f3b2e..20974e0b717 100644
--- a/storage/myisam/myisamdef.h
+++ b/storage/myisam/myisamdef.h
@@ -277,7 +277,9 @@ struct st_myisam_info
*/
ulong packed_length, blob_length; /* Length of found, packed record */
int dfile; /* The datafile */
+ uint open_flag; /* Parameters for open */
uint opt_flag; /* Optim. for space/speed */
+ uint once_flags; /* For MYISAMMRG */
uint update; /* If file changed since open */
int lastinx; /* Last used index */
uint lastkey_length; /* Length of key in lastkey */
@@ -303,12 +305,8 @@ struct st_myisam_info
my_bool page_changed;
/* If info->buff has to be reread for rnext */
my_bool buff_used;
- my_bool once_flags; /* For MYISAMMRG */
index_cond_func_t index_cond_func; /* Index condition function */
void *index_cond_func_arg; /* parameter for the func */
-#ifdef __WIN__
- my_bool owned_by_merge; /* This MyISAM table is part of a merge union */
-#endif
#ifdef THREAD
THR_LOCK_DATA lock;
#endif
@@ -717,6 +715,7 @@ void mi_update_status(void *param);
void mi_restore_status(void *param);
void mi_copy_status(void *to, void *from);
my_bool mi_check_status(void *param);
+void mi_fix_status(MI_INFO *org_table, MI_INFO *new_table);
void mi_disable_non_unique_index(MI_INFO *info, ha_rows rows);
extern MI_INFO *test_if_reopen(char *filename);