~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_select.cc

  • Committer: Padraig O'Sullivan
  • Date: 2010-02-11 20:01:37 UTC
  • mto: (1300.3.1 query-as-string)
  • mto: This revision was merged to the branch mainline in revision 1307.
  • Revision ID: osullivan.padraig@gmail.com-20100211200137-kx0nmgy8hke3snid
Updated the calls to dtrace probes to use the c_str() pointer from query in Session

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
{
117
117
  bool res;
118
118
  register Select_Lex *select_lex= &lex->select_lex;
119
 
  DRIZZLE_SELECT_START(session->query);
 
119
  DRIZZLE_SELECT_START(session->query.c_str());
120
120
 
121
121
  if (select_lex->master_unit()->is_union() ||
122
122
      select_lex->master_unit()->fake_select_lex)