diff options
Diffstat (limited to 'sql/sql_view.cc')
-rw-r--r-- | sql/sql_view.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_view.cc b/sql/sql_view.cc index 53844eb0fd2..3ee85fe05af 100644 --- a/sql/sql_view.cc +++ b/sql/sql_view.cc @@ -1136,7 +1136,6 @@ bool mysql_make_view(THD *thd, File_parser *parser, TABLE_LIST *table, /* Prepare a security context to check underlying objects of the view */ - Security_context *save_security_ctx= thd->security_ctx; if (!(table->view_sctx= (Security_context *) thd->stmt_arena->alloc(sizeof(Security_context)))) goto err; |