summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorgeorg@lmy002.wdf.sap.corp <>2006-09-01 14:34:37 +0200
committergeorg@lmy002.wdf.sap.corp <>2006-09-01 14:34:37 +0200
commit5686da41acda6bb6fbfc2b34a7645df6c24e7e77 (patch)
treeb624943770ca093aa4373ff91f83fddb3b932094 /extra
parent9d6471c33ec28eaed6bd4e138f602fad34b450b2 (diff)
downloadmariadb-git-5686da41acda6bb6fbfc2b34a7645df6c24e7e77.tar.gz
Fixes for crashes and test failures
Diffstat (limited to 'extra')
-rw-r--r--extra/comp_err.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/comp_err.c b/extra/comp_err.c
index 65fc131a5fc..14774c87a28 100644
--- a/extra/comp_err.c
+++ b/extra/comp_err.c
@@ -188,8 +188,9 @@ int main(int argc, char *argv[])
DBUG_RETURN(1);
}
clean_up(lang_head, error_head);
+ DBUG_LEAVE; /* we can't call my_end after DBUG_RETURN */
my_end(info_flag ? MY_CHECK_ERROR | MY_GIVE_INFO : 0);
- DBUG_RETURN(0);
+ return(0);
}
}