Comment 1 for bug 1010950

Revision history for this message
Alexey Kopytov (akopytov) wrote :

The code on specified lines is not Percona (AFAIK we don't have modifications to sql_select.cc at all). So they cannot be specific to Percona:

17561 having->compile(&Item::cache_const_expr_analyzer, (uchar **)&analyzer_arg,
17562 &Item::cache_const_expr_transformer, (uchar *)&cache_flag);
17563
17564 for (JOIN_TAB *tab= join_tab + const_tables; tab < join_tab + tables ; tab++)
17565 {
17566 if (*tab->on_expr_ref)
17567 {
17568 cache_flag= FALSE;
17569 (*tab->on_expr_ref)->compile(&Item::cache_const_expr_analyzer,
17570 (uchar **)&analyzer_arg,
17571 &Item::cache_const_expr_transformer,
17572 (uchar *)&cache_flag);