~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/optimize.cc

  • Committer: Brian Aker
  • Date: 2009-10-07 21:45:49 UTC
  • Revision ID: brian@gaz-20091007214549-nsf3usp3ppqeo1xq
Update to delete table to centralize the replication logic.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
  Select_Lex *select_lex= &session->lex->select_lex;
34
34
  bool res= mysql_optimize_table(session, first_table, &check_opt);
35
35
  /* ! we write after unlocking the table */
36
 
  write_bin_log(session, true, session->query, session->query_length);
 
36
  write_bin_log(session, session->query, session->query_length);
37
37
  select_lex->table_list.first= (unsigned char*) first_table;
38
38
  session->lex->query_tables= all_tables;
39
39
  return res;