diff options
author | Tor Didriksen <tor.didriksen@oracle.com> | 2011-11-01 07:50:54 +0100 |
---|---|---|
committer | Tor Didriksen <tor.didriksen@oracle.com> | 2011-11-01 07:50:54 +0100 |
commit | d5b8ce6a2df04994993ff87740a73c4d7f55020d (patch) | |
tree | 1aa115ee1570b883d39aec207420d64571597e11 /sql/sql_table.cc | |
parent | 59a38155bbf48d0c0814d8b33b666168e71fb8a5 (diff) | |
download | mariadb-git-d5b8ce6a2df04994993ff87740a73c4d7f55020d.tar.gz |
Bug#12406055 post-push fix: unused variable 'num_chars' in optimized build.
Also fixed possibly uninitialized use of need_copy_table_res.
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 105b5e7a43c..b7feed5ab4c 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -6985,7 +6985,7 @@ view_err: need_copy_table= ALTER_TABLE_DATA_CHANGED; else { - enum_alter_table_change_level need_copy_table_res; + enum_alter_table_change_level need_copy_table_res=ALTER_TABLE_METADATA_ONLY; /* Check how much the tables differ. */ if (compare_tables(table, alter_info, create_info, order_num, |