mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
5.3 merge
This commit is contained in:
@@ -639,7 +639,8 @@ bool st_select_lex_unit::exec()
|
||||
if (!(uncacheable & ~UNCACHEABLE_EXPLAIN) && item)
|
||||
item->make_const();
|
||||
|
||||
saved_error= optimize();
|
||||
if ((saved_error= optimize()))
|
||||
DBUG_RETURN(saved_error);
|
||||
|
||||
if (uncacheable || !item || !item->assigned() || describe)
|
||||
{
|
||||
|
Reference in New Issue
Block a user