summaryrefslogtreecommitdiff
path: root/client/mysqlcheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/mysqlcheck.c')
-rw-r--r--client/mysqlcheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c
index 445f4522cef..68456d59041 100644
--- a/client/mysqlcheck.c
+++ b/client/mysqlcheck.c
@@ -961,6 +961,7 @@ static void safe_exit(int error)
DBUG_VOID_RETURN;
if (sock)
mysql_close(sock);
+ sf_leaking_memory= 1; /* don't check for memory leaks */
exit(error);
DBUG_VOID_RETURN;
}
@@ -972,7 +973,6 @@ int main(int argc, char **argv)
char **defaults_argv;
MY_INIT(argv[0]);
- mysql_library_init(-1, 0, 0);
/*
** Check out the args
*/