mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Applied all changes from Igor and Sanja
This commit is contained in:
@ -666,9 +666,9 @@ exit:
|
||||
if (derived->view)
|
||||
{
|
||||
if (thd->is_error() &&
|
||||
(thd->stmt_da->sql_errno() == ER_BAD_FIELD_ERROR ||
|
||||
thd->stmt_da->sql_errno() == ER_FUNC_INEXISTENT_NAME_COLLISION ||
|
||||
thd->stmt_da->sql_errno() == ER_SP_DOES_NOT_EXIST))
|
||||
(thd->get_stmt_da()->sql_errno() == ER_BAD_FIELD_ERROR ||
|
||||
thd->get_stmt_da()->sql_errno() == ER_FUNC_INEXISTENT_NAME_COLLISION ||
|
||||
thd->get_stmt_da()->sql_errno() == ER_SP_DOES_NOT_EXIST))
|
||||
{
|
||||
thd->clear_error();
|
||||
my_error(ER_VIEW_INVALID, MYF(0), derived->db,
|
||||
|
Reference in New Issue
Block a user