diff options
author | Staale Smedseng <staale.smedseng@sun.com> | 2009-06-17 15:54:01 +0200 |
---|---|---|
committer | Staale Smedseng <staale.smedseng@sun.com> | 2009-06-17 15:54:01 +0200 |
commit | 3b0e6e41098557dab9fe7ca5c59f2863fd671b94 (patch) | |
tree | b8fb3c1fb387986cd39d4dc291845cd51d2796e5 /sql/table.h | |
parent | 689901f36f13b0ad5fe908998625493814ed33fa (diff) | |
download | mariadb-git-3b0e6e41098557dab9fe7ca5c59f2863fd671b94.tar.gz |
Bug #43414 Parenthesis (and other) warnings compiling MySQL
with gcc 4.3.2
Compiling MySQL with gcc 4.3.2 and later produces a number of
warnings, many of which are new with the recent compiler
versions.
This bug will be resolved in more than one patch to limit the
size of changesets. This is the second patch, fixing more
of the warnings.
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.h b/sql/table.h index ad578044371..db996d45320 100644 --- a/sql/table.h +++ b/sql/table.h @@ -729,7 +729,7 @@ struct TABLE_LIST void cleanup_items(); bool placeholder() { - return derived || view || schema_table || create && !table->db_stat || + return derived || view || schema_table || (create && !table->db_stat) || !table; } void print(THD *thd, String *str); |