~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/num1.cc

  • Committer: Brian Aker
  • Date: 2010-12-18 02:06:13 UTC
  • Revision ID: brian@tangent.org-20101218020613-8lxhcvsy812bu960
Formatting + remove default from switch/case.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
  case INT_RESULT:
39
39
    unsigned_flag= args[0]->unsigned_flag;
40
40
    break;
 
41
 
41
42
  case STRING_RESULT:
42
43
  case REAL_RESULT:
43
44
    hybrid_type= REAL_RESULT;
44
45
    max_length= float_length(decimals);
45
46
    break;
 
47
 
46
48
  case DECIMAL_RESULT:
47
49
    break;
48
 
  default:
 
50
 
 
51
  case ROW_RESULT:
49
52
    assert(0);
50
53
  }
51
 
  return;
52
54
}
53
55
 
54
56
void Item_func_num1::fix_num_length_and_dec()