~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/analyze.cc

  • Committer: Eric Day
  • Date: 2010-03-05 18:36:33 UTC
  • mfrom: (1324 staging)
  • mto: This revision was merged to the branch mainline in revision 1329.
  • Revision ID: eday@oddments.org-20100305183633-r765knk80hjjmfpj
Merged trunk.

Show diffs side-by-side

added added

removed removed

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