diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-02-15 08:13:50 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-02-15 08:13:50 +0200 |
commit | 10c05d4ae972f63e7118a61d25479836bbf6ed20 (patch) | |
tree | 1495d46d7e6d9bdda9c5233713b06e83f4ec261d | |
parent | 282ba973e748456a829eecf1b49fb352870c6a8f (diff) | |
download | mariadb-git-10c05d4ae972f63e7118a61d25479836bbf6ed20.tar.gz |
MDEV-15564: Fix the non-debug build
-rw-r--r-- | storage/innobase/handler/handler0alter.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/storage/innobase/handler/handler0alter.cc b/storage/innobase/handler/handler0alter.cc index 23d2e310b21..65c105928e3 100644 --- a/storage/innobase/handler/handler0alter.cc +++ b/storage/innobase/handler/handler0alter.cc @@ -9034,9 +9034,7 @@ innobase_rename_or_enlarge_column_try( const Create_field& cf, bool is_v) { -#ifdef UNIV_DEBUG dict_col_t* col; -#endif /* UNIV_DEBUG */ dict_v_col_t* v_col; DBUG_ENTER("innobase_rename_or_enlarge_column_try"); @@ -9049,13 +9047,9 @@ innobase_rename_or_enlarge_column_try( if (is_v) { v_col = dict_table_get_nth_v_col(user_table, pos); pos = dict_create_v_col_pos(v_col->v_pos, v_col->m_col.ind); -#ifdef UNIV_DEBUG col = &v_col->m_col; -#endif /* UNIV_DEBUG */ } else { -#ifdef UNIV_DEBUG col = dict_table_get_nth_col(user_table, pos); -#endif /* UNIV_DEBUG */ } ulint prtype, mtype, len; |