~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/records.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:
208
208
  int tmp;
209
209
  while ((tmp= info->select->quick->get_next()))
210
210
  {
211
 
    if (info->session->killed)
 
211
    if (info->session->getKilled())
212
212
    {
213
213
      my_error(ER_SERVER_SHUTDOWN, MYF(0));
214
214
      return 1;
272
272
  int tmp;
273
273
  while ((tmp= info->cursor->rnd_next(info->record)))
274
274
  {
275
 
    if (info->session->killed)
 
275
    if (info->session->getKilled())
276
276
    {
277
277
      info->session->send_kill_message();
278
278
      return 1;