summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <gkodinov/kgeorge@macbook.gmz>2008-03-29 17:50:46 +0200
committerunknown <gkodinov/kgeorge@macbook.gmz>2008-03-29 17:50:46 +0200
commit11714e6842f906901ac8e3ff9ac003ae0058fce7 (patch)
tree20c7a82def67fa930390fb9a78e3b2abbb661004 /myisam
parent8ae5aa3bd81124ed4d3c7e74139b028fd091cefc (diff)
downloadmariadb-git-11714e6842f906901ac8e3ff9ac003ae0058fce7.tar.gz
fixed warnings from the fix of 26243
Diffstat (limited to 'myisam')
-rw-r--r--myisam/mi_check.c2
-rw-r--r--myisam/mi_keycache.c1
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;
}