~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/definitions.h

  • Committer: Padraig O'Sullivan
  • Date: 2010-10-16 23:41:19 UTC
  • mto: (1859.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1860.
  • Revision ID: osullivan.padraig@gmail.com-20101016234119-54ekmwt4gvsvwcc5
Converted another uint8_t type to be a bitset.

Show diffs side-by-side

added added

removed removed

Lines of Context:
219
219
#define MY_CHARSET_BIN_MB_MAXLEN 1
220
220
 
221
221
// uncachable cause
222
 
#define UNCACHEABLE_DEPENDENT   1
223
 
#define UNCACHEABLE_RAND        2
224
 
#define UNCACHEABLE_SIDEEFFECT  3
 
222
static const uint32_t UNCACHEABLE_DEPENDENT= 1;
 
223
static const uint32_t UNCACHEABLE_RAND= 2;
 
224
static const uint32_t UNCACHEABLE_SIDEEFFECT= 3;
225
225
/// forcing to save JOIN for explain
226
 
#define UNCACHEABLE_EXPLAIN     4
 
226
static const uint32_t UNCACHEABLE_EXPLAIN= 4;
227
227
/** Don't evaluate subqueries in prepare even if they're not correlated */
228
 
#define UNCACHEABLE_PREPARE     5
 
228
static const uint32_t UNCACHEABLE_PREPARE= 5;
229
229
/* For uncorrelated SELECT in an UNION with some correlated SELECTs */
230
 
#define UNCACHEABLE_UNITED      6
 
230
static const uint32_t UNCACHEABLE_UNITED= 6;
231
231
 
232
232
/* Used to check GROUP BY list in the MODE_ONLY_FULL_GROUP_BY mode */
233
233
#define UNDEF_POS (-1)
234
234
 
235
235
/* Options to add_table_to_list() */
236
 
#define TL_OPTION_UPDATING      1
237
 
#define TL_OPTION_FORCE_INDEX   2
238
 
#define TL_OPTION_IGNORE_LEAVES 4
239
 
#define TL_OPTION_ALIAS         8
 
236
static const uint32_t TL_OPTION_UPDATING= 0;
 
237
static const uint32_t TL_OPTION_FORCE_INDEX= 1;
 
238
static const uint32_t TL_OPTION_IGNORE_LEAVES= 2;
 
239
static const uint32_t TL_OPTION_ALIAS= 3;
 
240
static const uint32_t NUM_OF_TABLE_OPTIONS= 4;
240
241
 
241
242
/* Some portable defines */
242
243