diff options
author | unknown <gkodinov/kgeorge@macbook.gmz> | 2008-03-29 17:50:46 +0200 |
---|---|---|
committer | unknown <gkodinov/kgeorge@macbook.gmz> | 2008-03-29 17:50:46 +0200 |
commit | c6b4a7426f45cdace018197ff3e27d9c4fd85aac (patch) | |
tree | 20c7a82def67fa930390fb9a78e3b2abbb661004 /myisam | |
parent | 43ca62cebb70ead2bece8e7c1374372660bf9c98 (diff) | |
download | mariadb-git-c6b4a7426f45cdace018197ff3e27d9c4fd85aac.tar.gz |
fixed warnings from the fix of 26243
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; } |