summaryrefslogtreecommitdiff
path: root/storage/innobase
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-03-08 10:06:34 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2017-03-08 10:06:34 +0200
commit1fd3cc8c1f2bfe052c0d6672d65b6d0ac1c87e0f (patch)
tree3a6d599aa7d2b24ae4301bbebda8aaf090773cc9 /storage/innobase
parent17a1b194e26f19935fe1be08e974f475d52190e3 (diff)
downloadmariadb-git-1fd3cc8c1f2bfe052c0d6672d65b6d0ac1c87e0f.tar.gz
Fix a compiler warning.
Diffstat (limited to 'storage/innobase')
-rw-r--r--storage/innobase/dict/dict0load.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/innobase/dict/dict0load.c b/storage/innobase/dict/dict0load.c
index d7168b6e4bb..07910328952 100644
--- a/storage/innobase/dict/dict0load.c
+++ b/storage/innobase/dict/dict0load.c
@@ -1,6 +1,7 @@
/*****************************************************************************
Copyright (c) 1996, 2013, Innobase Oy. All Rights Reserved.
+Copyright (c) 2017, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -1838,7 +1839,7 @@ err_exit:
if (!fil_open_single_table_tablespace(
TRUE, table->space,
table->flags == DICT_TF_COMPACT ? 0 :
- table->flags & ~(~0 << DICT_TF_BITS), name)) {
+ table->flags & ~(~0U << DICT_TF_BITS), name)) {
/* We failed to find a sensible
tablespace file */