~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_update.cc

updating

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
  Table         *table;
148
148
  optimizer::SqlSelect *select= NULL;
149
149
  ReadRecord    info;
150
 
  Select_Lex    *select_lex= &session->getLex()->select_lex;
 
150
  Select_Lex    *select_lex= &session->lex().select_lex;
151
151
  uint64_t     id;
152
152
  List<Item> all_fields;
153
153
  Session::killed_state_t killed_status= Session::NOT_KILLED;
621
621
                         Item **conds, uint32_t order_num, Order *order)
622
622
{
623
623
  List<Item> all_fields;
624
 
  Select_Lex *select_lex= &session->getLex()->select_lex;
 
624
  Select_Lex *select_lex= &session->lex().select_lex;
625
625
 
626
 
  session->getLex()->allow_sum_func= 0;
 
626
  session->lex().allow_sum_func= 0;
627
627
 
628
628
  if (setup_tables_and_check_access(session, &select_lex->context,
629
629
                                    &select_lex->top_join_list,