1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fix for LP bug#998516

If we did nothing in resolving unique table conflict we should not retry (it leed to infinite loop).
Now we retry (recheck) unique table check only in case if we materialized a table.
This commit is contained in:
unknown
2012-05-15 08:31:07 +03:00
parent 6d41fa0d54
commit 3d37b67b2b
3 changed files with 32 additions and 1 deletions

View File

@ -1739,8 +1739,8 @@ retry:
("convert merged to materialization to resolve the conflict"));
derived->change_refs_to_fields();
derived->set_materialized_derived();
goto retry;
}
goto retry;
}
DBUG_RETURN(res);
}