summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <monty@mysql.com/narttu.mysql.fi>2007-02-22 20:20:49 +0200
committerunknown <monty@mysql.com/narttu.mysql.fi>2007-02-22 20:20:49 +0200
commit77db97540964830edd35906aa8447d4beb776ad8 (patch)
tree282a43707215f718f7a0d61080e3cc44269b622d /client
parent50bd97a9436afe01606ad0cef323e7bda4d77e9b (diff)
downloadmariadb-git-77db97540964830edd35906aa8447d4beb776ad8.tar.gz
Portability fix
Suppress compiler warnings from bdb and (for the moment) warnings from ndb client/mysqltest.c: Portability fix for windows (windows doesn't have mode_t) support-files/compiler_warnings.supp: Suppress warnings from bdb and (for the moment) warnings from ndb
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c
index 616077fea9b..28de470769e 100644
--- a/client/mysqltest.c
+++ b/client/mysqltest.c
@@ -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;