mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
WL#7076: Backporting wl6715 to support both formats
in 5.5, 5.6, 5.7.
This commit is contained in:
@ -1467,7 +1467,7 @@ bool mysql_make_view(THD *thd, File_parser *parser, TABLE_LIST *table,
|
||||
objects of the view.
|
||||
*/
|
||||
if (!(table->view_sctx= (Security_context *)
|
||||
thd->stmt_arena->alloc(sizeof(Security_context))))
|
||||
thd->stmt_arena->calloc(sizeof(Security_context))))
|
||||
goto err;
|
||||
security_ctx= table->view_sctx;
|
||||
}
|
||||
|
Reference in New Issue
Block a user