~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/dtcollation.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:
38
38
}
39
39
 
40
40
 
41
 
DTCollation::DTCollation(const CHARSET_INFO * const collation_arg,
 
41
DTCollation::DTCollation(const charset_info_st * const collation_arg,
42
42
                         Derivation derivation_arg)
43
43
{
44
44
  collation= collation_arg;
53
53
}
54
54
 
55
55
 
56
 
void DTCollation::set(const CHARSET_INFO * const collation_arg,
 
56
void DTCollation::set(const charset_info_st * const collation_arg,
57
57
                      Derivation derivation_arg)
58
58
{
59
59
  collation= collation_arg;
61
61
}
62
62
 
63
63
 
64
 
void DTCollation::set(const CHARSET_INFO * const collation_arg)
 
64
void DTCollation::set(const charset_info_st * const collation_arg)
65
65
{
66
66
  collation= collation_arg;
67
67
}
166
166
        set(dt);
167
167
        return false;
168
168
      }
169
 
      const CHARSET_INFO * const bin= get_charset_by_csname(collation->csname, MY_CS_BINSORT);
 
169
      const charset_info_st * const bin= get_charset_by_csname(collation->csname, MY_CS_BINSORT);
170
170
      set(bin, DERIVATION_NONE);
171
171
    }
172
172
  }