mirror of
https://github.com/MariaDB/server.git
synced 2026-05-01 20:55:32 +02:00
fixed uninitialized variable introduced by the fix for bug 29325
This commit is contained in:
parent
2b1fb350c3
commit
3881f2a24d
1 changed files with 2 additions and 4 deletions
|
|
@ -586,8 +586,7 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs,
|
|||
32 : 0));
|
||||
linkname_ptr=0;
|
||||
/* Replace the current file */
|
||||
if (!(flags & HA_CREATE_KEEP_FILES))
|
||||
create_flag=MY_DELETE_OLD;
|
||||
create_flag=(flags & HA_CREATE_KEEP_FILES) ? 0 : MY_DELETE_OLD;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -648,8 +647,7 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs,
|
|||
{
|
||||
fn_format(filename,name,"",MI_NAME_DEXT,4);
|
||||
linkname_ptr=0;
|
||||
if (!(flags & HA_CREATE_KEEP_FILES))
|
||||
create_flag=MY_DELETE_OLD;
|
||||
create_flag=(flags & HA_CREATE_KEEP_FILES) ? 0 : MY_DELETE_OLD;
|
||||
}
|
||||
if ((dfile=
|
||||
my_create_with_symlink(linkname_ptr, filename, 0, create_mode,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue