~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/func.h

  • Committer: Barry.Leslie at PrimeBase
  • Date: 2010-07-14 22:58:28 UTC
  • mto: This revision was merged to the branch mainline in revision 1662.
  • Revision ID: barry.leslie@primebase.com-20100714225828-lckjqjp4xre0n5ec
Fixed merger problem in plugin/pbms/plugin.am.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
    allowed_arg_cols(1), arg_count(0)
71
71
  {
72
72
    with_sum_func= 0;
73
 
    collation.set(DERIVATION_SYSCONST);
74
73
  }
75
74
 
76
75
  Item_func(Item *a):
80
79
    args= tmp_arg;
81
80
    args[0]= a;
82
81
    with_sum_func= a->with_sum_func;
83
 
    collation.set(DERIVATION_SYSCONST);
84
82
  }
85
83
  
86
84
  Item_func(Item *a,Item *b):
90
88
    args= tmp_arg;
91
89
    args[0]= a; args[1]= b;
92
90
    with_sum_func= a->with_sum_func || b->with_sum_func;
93
 
    collation.set(DERIVATION_SYSCONST);
94
91
  }
95
92
  
96
93
  Item_func(Item *a,Item *b,Item *c):
104
101
      args[0]= a; args[1]= b; args[2]= c;
105
102
      with_sum_func= a->with_sum_func || b->with_sum_func || c->with_sum_func;
106
103
    }
107
 
    collation.set(DERIVATION_SYSCONST);
108
104
  }
109
105
  
110
106
  Item_func(Item *a,Item *b,Item *c,Item *d):
119
115
      with_sum_func= a->with_sum_func || b->with_sum_func ||
120
116
        c->with_sum_func || d->with_sum_func;
121
117
    }
122
 
    collation.set(DERIVATION_SYSCONST);
123
118
  }
124
119
  
125
120
  Item_func(Item *a,Item *b,Item *c,Item *d,Item* e):
133
128
      with_sum_func= a->with_sum_func || b->with_sum_func ||
134
129
        c->with_sum_func || d->with_sum_func || e->with_sum_func ;
135
130
    }
136
 
    collation.set(DERIVATION_SYSCONST);
137
131
  }
138
132
  
139
133
  Item_func(List<Item> &list);
160
154
    {Sum}Functype and Item_func::functype()/Item_sum::sum_func()
161
155
    instead.
162
156
  */
163
 
  virtual const char *func_name() const { return NULL; }
 
157
  virtual const char *func_name() const { return NULL; };
164
158
  virtual bool const_item() const { return const_item_cache; }
165
159
  Item **arguments() const { return args; }
166
160
  void set_arguments(List<Item> &list);