mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 02:30:06 +01:00
Simple cleanups
Fixed compiler warning Added comment
This commit is contained in:
parent
f2ccc595b6
commit
00946f4331
2 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ void my_exit(int c)
|
||||||
exit(c);
|
exit(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
void do_usage()
|
void do_usage(void)
|
||||||
{
|
{
|
||||||
printf("Usage:\n"
|
printf("Usage:\n"
|
||||||
" %s <user> log <filename>\n"
|
" %s <user> log <filename>\n"
|
||||||
|
@ -59,7 +59,7 @@ int main(int argc, char *argv[])
|
||||||
MY_INIT(argv[0]);
|
MY_INIT(argv[0]);
|
||||||
|
|
||||||
if (argc < 3)
|
if (argc < 3)
|
||||||
do_usage(argv[0]);
|
do_usage();
|
||||||
|
|
||||||
user_info= my_check_user(argv[1], MYF(0));
|
user_info= my_check_user(argv[1], MYF(0));
|
||||||
if (user_info ? my_set_user(argv[1], user_info, MYF(MY_WME))
|
if (user_info ? my_set_user(argv[1], user_info, MYF(MY_WME))
|
||||||
|
|
|
@ -3012,7 +3012,7 @@ static int mysql_create_routine(THD *thd, LEX *lex)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#ifdef WITH_WSREP
|
#ifdef WITH_WSREP
|
||||||
error:
|
error: /* Used by WSREP_TO_ISOLATION_BEGIN */
|
||||||
#endif
|
#endif
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue