~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-03-28 02:46:21 UTC
  • Revision ID: brian@tangent.org-20110328024621-wtkdtlvdplqm0ybf
Shift CHARSET_INFO to charset_info_st

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
void
102
102
Item_func_set_user_var::update_hash(void *ptr, uint32_t length,
103
103
                                    Item_result res_type,
104
 
                                    const CHARSET_INFO * const cs, Derivation dv,
 
104
                                    const charset_info_st * const cs, Derivation dv,
105
105
                                    bool unsigned_arg)
106
106
{
107
107
  /*
390
390
      (result_type() == REAL_RESULT && field->result_type() == STRING_RESULT))
391
391
  {
392
392
    String *result;
393
 
    const CHARSET_INFO * const cs= collation.collation;
 
393
    const charset_info_st * const cs= collation.collation;
394
394
    char buff[MAX_FIELD_WIDTH];         // Alloc buffer for small columns
395
395
    str_value.set_quick(buff, sizeof(buff), cs);
396
396
    result= entry->val_str(&null_value, &str_value, decimals);