~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_update.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:
145
145
  List<Item> all_fields;
146
146
  Session::killed_state killed_status= Session::NOT_KILLED;
147
147
 
148
 
  DRIZZLE_UPDATE_START(session->query);
 
148
  DRIZZLE_UPDATE_START(session->query.c_str());
149
149
  if (session->openTablesLock(table_list))
150
150
  {
151
151
    DRIZZLE_UPDATE_DONE(1, 0, 0);