~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Brian Aker
  • Date: 2010-11-08 20:10:51 UTC
  • mfrom: (1910.2.8 merge)
  • Revision ID: brian@tangent.org-20101108201051-fmplr6oke3c088kf
Encapsulation around locking/kill

Show diffs side-by-side

added added

removed removed

Lines of Context:
271
271
    if (! session->main_da.is_set())
272
272
      session->send_kill_message();
273
273
  }
274
 
  if (session->killed == Session::KILL_QUERY || session->killed == Session::KILL_BAD_DATA)
 
274
  if (session->getKilled() == Session::KILL_QUERY || session->getKilled() == Session::KILL_BAD_DATA)
275
275
  {
276
 
    session->killed= Session::NOT_KILLED;
 
276
    session->setKilled(Session::NOT_KILLED);
277
277
    session->setAbort(false);
278
278
  }
279
279