mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
compiler warning
This commit is contained in:
@@ -1347,8 +1347,8 @@ inline_mysql_file_delete_with_symlink(
|
|||||||
const char *name, const char *ext, myf flags)
|
const char *name, const char *ext, myf flags)
|
||||||
{
|
{
|
||||||
int result;
|
int result;
|
||||||
char fullname[FN_REFLEN];
|
char buf[FN_REFLEN];
|
||||||
fn_format(fullname, name, "", ext, MY_UNPACK_FILENAME | MY_APPEND_EXT);
|
char *fullname= fn_format(buf, name, "", ext, MY_UNPACK_FILENAME | MY_APPEND_EXT);
|
||||||
#ifdef HAVE_PSI_FILE_INTERFACE
|
#ifdef HAVE_PSI_FILE_INTERFACE
|
||||||
struct PSI_file_locker *locker;
|
struct PSI_file_locker *locker;
|
||||||
PSI_file_locker_state state;
|
PSI_file_locker_state state;
|
||||||
|
Reference in New Issue
Block a user