~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_select.h

  • Committer: Brian Aker
  • Date: 2009-06-08 16:52:16 UTC
  • mfrom: (1054.2.7 mordred)
  • Revision ID: brian@gaz-20090608165216-prwpfo3ixrsoo3ke
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
253
253
  item->marker should be 0 for all items on entry
254
254
  Return in cond_value false if condition is impossible (1 = 2)
255
255
*****************************************************************************/
256
 
class COND_CMP :public ilink {
257
 
public:
258
 
  static void *operator new(size_t size)
259
 
  {
260
 
    return (void*) sql_alloc((uint32_t) size);
261
 
  }
262
 
  static void operator delete(void *, size_t)
263
 
  { TRASH(ptr, size); }
264
 
 
 
256
struct COND_CMP {
265
257
  Item *and_level;
266
258
  Item_func *cmp_func;
267
259
  COND_CMP(Item *a,Item_func *b) :and_level(a),cmp_func(b) {}
268
260
};
269
261
 
270
 
#ifdef HAVE_EXPLICIT_TEMPLATE_INSTANTIATION
271
 
template class I_List<COND_CMP>;
272
 
template class I_List_iterator<COND_CMP>;
273
 
#endif
274
 
 
275
262
extern const char *join_type_str[];
276
263
void TEST_join(JOIN *join);
277
264