~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/drizzle_com.h

Merged vcol stuff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
#define COLUMN_COMMENT_MAXLEN 1024
123
123
#define INDEX_COMMENT_MAXLEN 1024
124
124
 
 
125
/* The length of the header part for each virtual column in the .frm file. */
 
126
#define FRM_VCOL_HEADER_SIZE 3
 
127
/*
 
128
  Maximum length of the expression statement defined for virtual columns.
 
129
*/
 
130
#define VIRTUAL_COLUMN_EXPRESSION_MAXLEN 255 - FRM_VCOL_HEADER_SIZE
125
131
 
126
132
/*
127
133
  USER_HOST_BUFF_SIZE -- length of string buffer, that is enough to contain
334
340
                        DRIZZLE_TYPE_TIME,
335
341
                        DRIZZLE_TYPE_DATETIME,
336
342
                        DRIZZLE_TYPE_NEWDATE, DRIZZLE_TYPE_VARCHAR,
 
343
                                          DRIZZLE_TYPE_VIRTUAL=252,
337
344
                        DRIZZLE_TYPE_NEWDECIMAL=253,
338
345
                        DRIZZLE_TYPE_ENUM=254,
339
346
                        DRIZZLE_TYPE_BLOB=255