Skip to content
Permalink
Browse files

mariadb_fix_view need only check view->mariadb_version

  • Loading branch information...
grooverdan committed Apr 13, 2015
1 parent 7229b19 commit 29721d7d5f85fe323d70f1856aa1e5294e14074a
Showing with 1 addition and 2 deletions.
  1. +1 −2 sql/sql_view.cc
@@ -818,8 +818,7 @@ int mariadb_fix_view(THD *thd, TABLE_LIST *view, bool wrong_checksum,
LEX_STRING dir, file, path;
DBUG_ENTER("mariadb_fix_view");

if (view->algorithm == VIEW_ALGORITHM_UNDEFINED &&
!wrong_checksum && view->mariadb_version)
if (view->mariadb_version)
DBUG_RETURN(HA_ADMIN_OK);

make_view_filename(&dir, dir_buff, sizeof(dir_buff),

0 comments on commit 29721d7

Please sign in to comment.
You can’t perform that action at this time.