~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/definitions.h

  • Committer: Olaf van der Spek
  • Date: 2011-02-12 18:24:24 UTC
  • mto: (2167.1.2 build) (2172.1.4 build)
  • mto: This revision was merged to the branch mainline in revision 2168.
  • Revision ID: olafvdspek@gmail.com-20110212182424-kgnm9osi7qo97at2
casts

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
#define MAX_FIELD_NAME 34                       /* Max colum name length +2 */
56
56
#define MAX_SYS_VAR_LENGTH 32
57
57
#define MAX_INDEXES 64
58
 
#define MAX_KEY MAX_INDEXES                     /* Max used keys */
59
 
#define MAX_REF_PARTS 16                        /* Max parts used as ref */
60
 
#define MAX_KEY_LENGTH 4096                     /* max possible key */
61
 
#define MAX_KEY_LENGTH_DECIMAL_WIDTH 4          /* strlen("4096") */
 
58
const uint32_t MAX_KEY = MAX_INDEXES;                     /* Max used keys */
 
59
const uint32_t MAX_REF_PARTS = 16;                      /* Max parts used as ref */
 
60
const uint32_t MAX_KEY_LENGTH = 4096;                    // max possible key
 
61
const uint32_t MAX_KEY_LENGTH_DECIMAL_WIDTH = 4; // strlen("4096")
62
62
 
63
63
#if SIZEOF_OFF_T > 4
64
64
#define MAX_REFLENGTH 8                         /* Max length for record ref */
303
303
#define HA_KEY_NULL_LENGTH      1
304
304
#define HA_KEY_BLOB_LENGTH      2
305
305
 
306
 
#define HA_MAX_REC_LENGTH       65535
 
306
const uint32_t HA_MAX_REC_LENGTH = 65535;
307
307
 
308
308
/* Options of START TRANSACTION statement (and later of SET TRANSACTION stmt) */
309
309
enum start_transaction_option_t