~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/common.h

  • Committer: Stewart Smith
  • Date: 2009-03-18 00:29:24 UTC
  • mto: (942.1.10 mordred)
  • mto: This revision was merged to the branch mainline in revision 945.
  • Revision ID: stewart@flamingspork.com-20090318002924-gixoh4t5mhbw8qyz
make set_if_bigger typesafe for C and C++. Fix up everywhere.

Show diffs side-by-side

added added

removed removed

Lines of Context:
296
296
#define MAX_INT_WIDTH           10      /* Max width for a LONG w.o. sign */
297
297
#define MAX_BIGINT_WIDTH        20      /* Max width for a LONGLONG */
298
298
#define MAX_CHAR_WIDTH          255     /* Max length for a CHAR colum */
299
 
#define MAX_BLOB_WIDTH          16777216        /* Default width for blob */
 
299
#define MAX_BLOB_WIDTH          (uint32_t)16777216      /* Default width for blob */
300
300
 
301
301
#define DRIZZLE_PROTOCOL_NO_MORE_DATA 0xFE
302
302