~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/get_user_var.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:
88
88
    case REAL_RESULT:
89
89
      max_length= DBL_DIG + 8;
90
90
      break;
 
91
 
91
92
    case INT_RESULT:
92
93
      max_length= MAX_BIGINT_WIDTH;
93
94
      decimals=0;
95
96
    case STRING_RESULT:
96
97
      max_length= MAX_BLOB_WIDTH;
97
98
      break;
 
99
 
98
100
    case DECIMAL_RESULT:
99
101
      max_length= DECIMAL_MAX_STR_LENGTH;
100
102
      decimals= DECIMAL_MAX_SCALE;
101
103
      break;
 
104
 
102
105
    case ROW_RESULT:                            // Keep compiler happy
103
 
    default:
104
106
      assert(0);
105
107
      break;
106
108
    }