mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
MDEV-11129 CREATE OR REPLACE TABLE t1 AS SELECT spfunc() crashes if spfunc() references t1
fix a typo that broke the main.view test
followup for ef295c31e3
This commit is contained in:
parent
ef295c31e3
commit
cf5226174b
1 changed files with 1 additions and 1 deletions
|
@ -1373,7 +1373,7 @@ retry:
|
|||
DBUG_RETURN(res);
|
||||
|
||||
/* Skip if table alias does not match. */
|
||||
if (check_flag & CHECK_DUP_FOR_CREATE)
|
||||
if (check_flag & CHECK_DUP_ALLOW_DIFFERENT_ALIAS)
|
||||
{
|
||||
if (my_strcasecmp(table_alias_charset, t_alias, res->alias))
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue