summaryrefslogtreecommitdiff
path: root/client/mysql_upgrade.c
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2018-04-30 15:21:52 +0300
committerMonty <monty@mariadb.org>2018-04-30 15:21:52 +0300
commita1fe7d75dc0468ebf2f31e6e7ddeef186abcd230 (patch)
tree597212e3eec8fc08961f1d93e9d3caa52ff4db01 /client/mysql_upgrade.c
parent7d6b55b99aa11bc888bdf7ad1ccdf845909a91c5 (diff)
downloadmariadb-git-a1fe7d75dc0468ebf2f31e6e7ddeef186abcd230.tar.gz
Removed even more warning that was found with -Wunused
- Removed test if HA_FT_WTYPE == HA_KEYTYPE_FLOAT as this never worked (HA_KEYTYPE_FLOAT is an enum) - Define HA_FT_MAXLEN to 126 (was tested before but never defined)
Diffstat (limited to 'client/mysql_upgrade.c')
-rw-r--r--client/mysql_upgrade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysql_upgrade.c b/client/mysql_upgrade.c
index 0e0695c9ebe..64e0c68a9ce 100644
--- a/client/mysql_upgrade.c
+++ b/client/mysql_upgrade.c
@@ -1144,7 +1144,7 @@ int main(int argc, char **argv)
load_defaults_or_exit("my", load_default_groups, &argc, &argv);
defaults_argv= argv; /* Must be freed by 'free_defaults' */
-#if __WIN__
+#if defined(__WIN__)
if (GetModuleFileName(NULL, self_name, FN_REFLEN) == 0)
#endif
{