diff options
author | Tor Didriksen <tor.didriksen@sun.com> | 2010-05-26 16:12:23 +0200 |
---|---|---|
committer | Tor Didriksen <tor.didriksen@sun.com> | 2010-05-26 16:12:23 +0200 |
commit | d8536dfbddbf98df10081bdbf83b2c06cf9d01c1 (patch) | |
tree | e02f9ec4f4f64535006e2aeecf1ec1497146b50c /sql/sql_partition.cc | |
parent | 33e9d05c086a54ec0cd3860acdc01585e0d4fda6 (diff) | |
download | mariadb-git-d8536dfbddbf98df10081bdbf83b2c06cf9d01c1.tar.gz |
Bug #53445 Build with -Wall and fix warnings that it generates
Add -Wall to gcc/g++
Fix most warnings reported in dbg and opt mode.
Diffstat (limited to 'sql/sql_partition.cc')
-rw-r--r-- | sql/sql_partition.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc index 398af8c676e..e6f9a10801b 100644 --- a/sql/sql_partition.cc +++ b/sql/sql_partition.cc @@ -4584,7 +4584,7 @@ uint prep_alter_part_table(THD *thd, TABLE *table, Alter_info *alter_info, partition_info *tab_part_info= table->part_info; partition_info *alt_part_info= thd->work_part_info; uint flags= 0; - bool is_last_partition_reorged; + bool is_last_partition_reorged= FALSE; part_elem_value *tab_max_elem_val= NULL; part_elem_value *alt_max_elem_val= NULL; longlong tab_max_range= 0, alt_max_range= 0; |