~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/analyze.cc

  • Committer: Lee Bieber
  • Date: 2010-11-16 17:50:17 UTC
  • mfrom: (1932.3.2 trunk)
  • Revision ID: kalebral@gmail.com-20101116175017-sken3dkkpfcd2snv
Merge Brian - session fixes

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.c_str());
 
38
  write_bin_log(session, *session->getQueryString());
39
39
  select_lex->table_list.first= (unsigned char*) first_table;
40
40
  session->lex->query_tables= all_tables;
41
41
  return res;