mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
bzr merge -rtag:mariadb-10.0.12 maria/10.0
This commit is contained in:
@ -4880,6 +4880,10 @@ end_with_restore_list:
|
||||
goto create_sp_error;
|
||||
}
|
||||
|
||||
if (check_access(thd, CREATE_PROC_ACL, lex->sphead->m_db.str,
|
||||
NULL, NULL, 0, 0))
|
||||
goto create_sp_error;
|
||||
|
||||
/*
|
||||
Check that a database directory with this name
|
||||
exists. Design note: This won't work on virtual databases
|
||||
@ -4891,10 +4895,6 @@ end_with_restore_list:
|
||||
goto create_sp_error;
|
||||
}
|
||||
|
||||
if (check_access(thd, CREATE_PROC_ACL, lex->sphead->m_db.str,
|
||||
NULL, NULL, 0, 0))
|
||||
goto create_sp_error;
|
||||
|
||||
name= lex->sphead->name(&namelen);
|
||||
#ifdef HAVE_DLOPEN
|
||||
if (lex->sphead->m_type == TYPE_ENUM_FUNCTION)
|
||||
|
Reference in New Issue
Block a user