~vjsamuel/drizzle/bug-616035

« back to all changes in this revision

Viewing changes to include/my_base.h

  • Committer: Stewart Smith
  • Date: 2008-07-09 01:40:54 UTC
  • mfrom: (105 drizzle)
  • mto: This revision was merged to the branch mainline in revision 111.
  • Revision ID: stewart@flamingspork.com-20080709014054-xfgfzirbhqzrzkkj
mergeĀ fromĀ mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
  HA_BUILD_OFFLINE 
104
104
};
105
105
 
106
 
        /* Storage media types */ 
107
 
 
108
 
enum ha_storage_media {
109
 
  HA_SM_DEFAULT=        0,              /* Not specified (engine default) */
110
 
  HA_SM_DISK=           1,              /* DISK storage */
111
 
  HA_SM_MEMORY=         2               /* MAIN MEMORY storage */
112
 
};
113
 
 
114
106
        /* The following is parameter to ha_extra() */
115
107
 
116
108
enum ha_extra_function {
194
186
  */
195
187
  HA_EXTRA_INSERT_WITH_UPDATE,
196
188
  /* Inform handler that we will do a rename */
197
 
  HA_EXTRA_PREPARE_FOR_RENAME,
198
 
  /*
199
 
    Orders MERGE handler to attach or detach its child tables. Used at
200
 
    begin and end of a statement.
201
 
  */
202
 
  HA_EXTRA_ATTACH_CHILDREN,
203
 
  HA_EXTRA_DETACH_CHILDREN
 
189
  HA_EXTRA_PREPARE_FOR_RENAME
204
190
};
205
191
 
206
192
/* Compatible option, to be deleted in 6.0 */
576
562
#define HA_POS_ERROR    (~ (ha_rows) 0)
577
563
#define HA_OFFSET_ERROR (~ (my_off_t) 0)
578
564
 
579
 
#if SYSTEM_SIZEOF_OFF_T == 4
 
565
#if SIZEOF_OFF_T == 4
580
566
#define MAX_FILE_SIZE   INT_MAX32
581
567
#else
582
568
#define MAX_FILE_SIZE   LONGLONG_MAX