~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_error.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:
134
134
 
135
135
    session->no_warnings_for_error= 1;
136
136
 
137
 
    session->killed= Session::KILL_BAD_DATA;
 
137
    session->setKilled(Session::KILL_BAD_DATA);
138
138
    my_message(code, msg, MYF(0));
139
139
 
140
140
    session->no_warnings_for_error= no_warnings_for_error;