mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Portability fix
Suppress compiler warnings from bdb and (for the moment) warnings from ndb
This commit is contained in:
@@ -1864,7 +1864,7 @@ void do_chmod_file(struct st_command *command)
|
||||
die("You must write a 4 digit octal number for mode");
|
||||
|
||||
DBUG_PRINT("info", ("chmod %o %s", (uint)mode, ds_file.str));
|
||||
handle_command_error(command, chmod(ds_file.str, (mode_t) mode));
|
||||
handle_command_error(command, chmod(ds_file.str, mode));
|
||||
dynstr_free(&ds_mode);
|
||||
dynstr_free(&ds_file);
|
||||
DBUG_VOID_RETURN;
|
||||
|
Reference in New Issue
Block a user