1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00

Bug#12406055 post-push fix: unused variable 'num_chars' in optimized build.

Also fixed possibly uninitialized use of need_copy_table_res.
This commit is contained in:
Tor Didriksen
2011-11-01 07:50:54 +01:00
parent 2e7dd62646
commit 0e2af2cdd3
2 changed files with 3 additions and 2 deletions

View File

@@ -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,