~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_update.cc

  • Committer: Brian Aker
  • Date: 2009-06-05 02:29:41 UTC
  • mto: This revision was merged to the branch mainline in revision 1051.
  • Revision ID: brian@gaz-20090605022941-p8glkd6wtosdhs0u
More redactoring of all lock issue code that is session bound, to be a
member of Session class.

The future will involve consolidation :)

Show diffs side-by-side

added added

removed removed

Lines of Context:
185
185
      break;
186
186
    if (!need_reopen)
187
187
      return(1);
188
 
    close_tables_for_reopen(session, &table_list);
 
188
 
 
189
    session->close_tables_for_reopen(&table_list);
189
190
  }
190
191
 
191
192
  if (mysql_handle_derived(session->lex, &mysql_derived_prepare) ||
891
892
    while ((item= it++))
892
893
      item->cleanup();
893
894
 
894
 
    close_tables_for_reopen(session, &table_list);
 
895
    session->close_tables_for_reopen(&table_list);
 
896
 
895
897
    goto reopen_tables;
896
898
  }
897
899