~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/check.cc

  • Committer: Brian Aker
  • Date: 2010-12-31 02:23:39 UTC
  • mto: (2054.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2049.
  • Revision ID: brian@tangent.org-20101231022339-g07ztt32wdwqdz46
Make it so that tables are sent not as raw but actual drop table commands to
the replication system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
  TableList *all_tables= session->lex->query_tables;
34
34
  assert(first_table == all_tables && first_table != 0);
35
35
  Select_Lex *select_lex= &session->lex->select_lex;
36
 
  bool res= mysql_check_table(session, first_table, &check_opt);
 
36
  bool res= check_table(session, first_table, &check_opt);
37
37
  select_lex->table_list.first= (unsigned char*) first_table;
38
38
  session->lex->query_tables=all_tables;
39
39
  return res;