~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/order.h

  • Committer: Brian Aker
  • Date: 2008-08-19 15:11:04 UTC
  • mfrom: (327.2.6 drizzle-good)
  • Revision ID: brian@gir.tangent.org-20080819151104-uxk5lgoaj0fwgx9z
Merge of Brian's tree to main tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef DRIZZLED_ORDER_H
 
2
#define DRIZZLED_ORDER_H
 
3
 
 
4
/* Order clause list element */
 
5
 
 
6
struct order_st {
 
7
  struct order_st *next;
 
8
  Item   **item;                        /* Point at item in select fields */
 
9
  Item   *item_ptr;                     /* Storage for initial item */
 
10
  Item   **item_copy;                   /* For SPs; the original item ptr */
 
11
  int    counter;                       /* position in SELECT list, correct
 
12
                                           only if counter_used is true*/
 
13
  bool   asc;                           /* true if ascending */
 
14
  bool   free_me;                       /* true if item isn't shared  */
 
15
  bool   in_field_list;                 /* true if in select field list */
 
16
  bool   counter_used;                  /* parameter was counter of columns */
 
17
  Field  *field;                        /* If tmp-table group */
 
18
  char   *buff;                         /* If tmp-table group */
 
19
  table_map used, depend_map;
 
20
};
 
21
 
 
22
#endif /* DRIZZLED_ORDER_H */