mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
prevent substituting Item_ref as VIEW fields in WHERE conditions (BUG#5969)
prevent filling temporary tables of views on list fields command sql/opt_range.cc: debug output fixed sql/sql_base.cc: prevent substituting Item_ref as VIEW fields in WHERE conditions sql/sql_parse.cc: prevent filling temporary tables of views on list fields command
This commit is contained in:
@ -1533,7 +1533,7 @@ int SQL_SELECT::test_quick_select(THD *thd, key_map keys_to_use,
|
||||
{
|
||||
uint idx;
|
||||
double scan_time;
|
||||
DBUG_ENTER("test_quick_select");
|
||||
DBUG_ENTER("SQL_SELECT::test_quick_select");
|
||||
//printf("\nQUERY: %s\n", thd->query);
|
||||
DBUG_PRINT("enter",("keys_to_use: %lu prev_tables: %lu const_tables: %lu",
|
||||
keys_to_use.to_ulonglong(), (ulong) prev_tables,
|
||||
|
Reference in New Issue
Block a user