~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/get_user_var.cc

  • Committer: lbieber at stabletransit
  • Date: 2010-10-12 20:53:47 UTC
  • mfrom: (1842.1.3 build)
  • Revision ID: lbieber@drizzle-build-n02.wc1.dfw1.stabletransit.com-20101012205347-zzg0en7nughfhven
Merge Monty - add valgrind stripping program to the tree, suppress size_t signature change
Merge Travis - File: /drizzled/xid.h. Changed struct name of 'st_drizzle_xid' to 'drizzle_xid', changed it to a C++ class and added constructor initialization list
Merge Brian - adding more documentation

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
    }