~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/get_user_var.cc

  • Committer: Patrick Crews
  • Date: 2010-08-17 16:41:12 UTC
  • mfrom: (1711.6.2 staging)
  • mto: This revision was merged to the branch mainline in revision 1714.
  • Revision ID: gleebix@gmail.com-20100817164112-vaa55iprokbg6m1k
Merge Brian's recursive mutex removal tree

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
 
 
92
91
    case INT_RESULT:
93
92
      max_length= MAX_BIGINT_WIDTH;
94
93
      decimals=0;
96
95
    case STRING_RESULT:
97
96
      max_length= MAX_BLOB_WIDTH;
98
97
      break;
99
 
 
100
98
    case DECIMAL_RESULT:
101
99
      max_length= DECIMAL_MAX_STR_LENGTH;
102
100
      decimals= DECIMAL_MAX_SCALE;
103
101
      break;
104
 
 
105
102
    case ROW_RESULT:                            // Keep compiler happy
 
103
    default:
106
104
      assert(0);
107
105
      break;
108
106
    }