mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
mysql_upgrade.c:
No declarations after first expression in block
This commit is contained in:
parent
8f635a9789
commit
691822a929
1 changed files with 3 additions and 3 deletions
|
@ -144,7 +144,7 @@ static int create_check_file(const char *path)
|
|||
static int create_defaults_file(const char *path, const char *our_defaults_path)
|
||||
{
|
||||
uint b_read;
|
||||
File our_defaults_file;
|
||||
File our_defaults_file, defaults_file;
|
||||
char buffer[512];
|
||||
char *buffer_end;
|
||||
int error;
|
||||
|
@ -153,8 +153,8 @@ static int create_defaults_file(const char *path, const char *our_defaults_path)
|
|||
if (!opt_password)
|
||||
return 0;
|
||||
|
||||
File defaults_file= my_open(path, O_BINARY | O_CREAT | O_WRONLY,
|
||||
MYF(MY_FAE | MY_WME));
|
||||
defaults_file= my_open(path, O_BINARY | O_CREAT | O_WRONLY,
|
||||
MYF(MY_FAE | MY_WME));
|
||||
|
||||
if (defaults_file < 0)
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue