~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/user_var_entry.cc

  • Committer: Brian Aker
  • Date: 2010-12-25 00:44:06 UTC
  • mto: This revision was merged to the branch mainline in revision 2031.
  • Revision ID: brian@tangent.org-20101225004406-4xna6p795yqkaony
Second pass through function names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
  case DECIMAL_RESULT:
42
42
    {
43
43
      double result;
44
 
      my_decimal2double(E_DEC_FATAL_ERROR, (my_decimal *)value, &result);
 
44
      class_decimal2double(E_DEC_FATAL_ERROR, (my_decimal *)value, &result);
45
45
      return result;
46
46
    }
47
47
 
73
73
  case DECIMAL_RESULT:
74
74
    {
75
75
      int64_t result;
76
 
      my_decimal2int(E_DEC_FATAL_ERROR, (my_decimal *)value, 0, &result);
 
76
      class_decimal2int(E_DEC_FATAL_ERROR, (my_decimal *)value, 0, &result);
77
77
      return result;
78
78
    }
79
79
 
113
113
    break;
114
114
 
115
115
  case DECIMAL_RESULT:
116
 
    my_decimal2string(E_DEC_FATAL_ERROR, (my_decimal *)value, 0, 0, 0, str);
 
116
    class_decimal2string(E_DEC_FATAL_ERROR, (my_decimal *)value, 0, 0, 0, str);
117
117
    break;
118
118
 
119
119
  case STRING_RESULT:
137
137
 
138
138
  switch (type) {
139
139
  case REAL_RESULT:
140
 
    double2my_decimal(E_DEC_FATAL_ERROR, *(double*) value, val);
 
140
    double2_class_decimal(E_DEC_FATAL_ERROR, *(double*) value, val);
141
141
    break;
142
142
 
143
143
  case INT_RESULT:
144
 
    int2my_decimal(E_DEC_FATAL_ERROR, *(int64_t*) value, 0, val);
 
144
    int2_class_decimal(E_DEC_FATAL_ERROR, *(int64_t*) value, 0, val);
145
145
    break;
146
146
 
147
147
  case DECIMAL_RESULT:
149
149
    break;
150
150
 
151
151
  case STRING_RESULT:
152
 
    str2my_decimal(E_DEC_FATAL_ERROR, value, length, collation.collation, val);
 
152
    str2_class_decimal(E_DEC_FATAL_ERROR, value, length, collation.collation, val);
153
153
    break;
154
154
 
155
155
  case ROW_RESULT: