~stewart/drizzle/use-catalog-for-path

« back to all changes in this revision

Viewing changes to plugin/innobase/handler/ha_innodb.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:
1202
1202
  ulint*  mbminlen, /*!< out: minimum length of a char (in bytes) */
1203
1203
  ulint*  mbmaxlen) /*!< out: maximum length of a char (in bytes) */
1204
1204
{
1205
 
  CHARSET_INFO* cs;
 
1205
  charset_info_st* cs;
1206
1206
  ut_ad(cset < 256);
1207
1207
  ut_ad(mbminlen);
1208
1208
  ut_ad(mbmaxlen);
1277
1277
  const void *cs,
1278
1278
  char char_to_test)
1279
1279
{
1280
 
  return my_isspace(static_cast<const CHARSET_INFO *>(cs), char_to_test);
 
1280
  return my_isspace(static_cast<const charset_info_st *>(cs), char_to_test);
1281
1281
}
1282
1282
 
1283
1283
#if defined (__WIN__) && defined (MYSQL_DYNAMIC_PLUGIN)
3626
3626
  const unsigned char* b,   /* in: data field */
3627
3627
  unsigned int  b_length) /* in: data field length, not UNIV_SQL_NULL */
3628
3628
{
3629
 
  const CHARSET_INFO* charset;
 
3629
  const charset_info_st* charset;
3630
3630
  enum_field_types  mysql_tp;
3631
3631
  int     ret;
3632
3632
 
3859
3859
      const byte* data;
3860
3860
      ulint   key_len;
3861
3861
      ulint   true_len;
3862
 
      const CHARSET_INFO* cs;
 
3862
      const charset_info_st* cs;
3863
3863
      int   error=0;
3864
3864
 
3865
3865
      key_len = key_part->length;
3918
3918
 
3919
3919
    } else if (mysql_type == DRIZZLE_TYPE_BLOB) {
3920
3920
 
3921
 
      const CHARSET_INFO* cs;
 
3921
      const charset_info_st* cs;
3922
3922
      ulint   key_len;
3923
3923
      ulint   true_len;
3924
3924
      int   error=0;
3991
3991
      ulint     key_len;
3992
3992
      const unsigned char*    src_start;
3993
3993
      enum_field_types  real_type;
3994
 
      const CHARSET_INFO* cs= field->charset();
 
3994
      const charset_info_st* cs= field->charset();
3995
3995
 
3996
3996
      key_len = key_part->length;
3997
3997
 
8787
8787
{
8788
8788
  ulint char_length;    /*!< character length in bytes */
8789
8789
  ulint n_chars;      /*!< number of characters in prefix */
8790
 
  const CHARSET_INFO* charset;  /*!< charset used in the field */
 
8790
  const charset_info_st* charset;  /*!< charset used in the field */
8791
8791
 
8792
8792
  charset = get_charset((uint) charset_id);
8793
8793