~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-16 04:01:22 UTC
  • mfrom: (1996.2.1 compare)
  • Revision ID: brian@tangent.org-20101216040122-eodh5shwsij35ybe
Merge in uuid 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
    }