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 | 0e2af2cdd32bc2482483c09ac8dd9c0aa7549c15 (patch) | |
tree | 1aa115ee1570b883d39aec207420d64571597e11 /sql/sql_table.cc | |
parent | 2e7dd62646b643a86e17dae6fb58a69822a68c1f (diff) | |
download | mariadb-git-0e2af2cdd32bc2482483c09ac8dd9c0aa7549c15.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, |