diff options
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/mi_check.c | 2 | ||||
-rw-r--r-- | myisam/mi_keycache.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/myisam/mi_check.c b/myisam/mi_check.c index 7ed4f3a9f03..daa5886f3ba 100644 --- a/myisam/mi_check.c +++ b/myisam/mi_check.c @@ -1935,7 +1935,7 @@ int mi_sort_index(MI_CHECK *param, register MI_INFO *info, my_string name) for (key= 0,keyinfo= &share->keyinfo[0]; key < share->base.keys ; key++,keyinfo++) if (keyinfo->key_alg == HA_KEY_ALG_RTREE) - return 0; + DBUG_RETURN(0); if (!(param->testflag & T_SILENT)) printf("- Sorting index for MyISAM-table '%s'\n",name); diff --git a/myisam/mi_keycache.c b/myisam/mi_keycache.c index bb465dbecce..6694893e9c3 100644 --- a/myisam/mi_keycache.c +++ b/myisam/mi_keycache.c @@ -158,4 +158,5 @@ void mi_change_key_cache(KEY_CACHE *old_key_cache, */ multi_key_cache_change(old_key_cache, new_key_cache); pthread_mutex_unlock(&THR_LOCK_myisam); + DBUG_VOID_RETURN; } |