~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/set_user_var.cc

  • Committer: Brian Aker
  • Date: 2011-07-14 22:12:02 UTC
  • mto: (2392.1.1 drizzle-autoconf)
  • mto: This revision was merged to the branch mainline in revision 2368.
  • Revision ID: brian@tangent.org-20110714221202-9ov19jp0tmhiovqk
Fixes bug where true/false would not be interpreted correctly/displayed correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
    {
145
145
      save_result.vint= use_result_field ? result_field->val_int() :
146
146
        args[0]->val_int();
 
147
 
147
148
      unsigned_flag= use_result_field ? ((Field_num*)result_field)->unsigned_flag:
148
149
        args[0]->unsigned_flag;
 
150
 
149
151
      break;
150
152
    }
151
153
  case STRING_RESULT: