~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/create.cc

  • Committer: Olaf van der Spek
  • Date: 2011-07-05 09:52:28 UTC
  • mto: This revision was merged to the branch mainline in revision 2367.
  • Revision ID: olafvdspek@gmail.com-20110705095228-y4aejvsuyeezloqe
Refactor Items

Show diffs side-by-side

added added

removed removed

Lines of Context:
146
146
    @return An item representing the function call
147
147
  */
148
148
  virtual Item* create_native(Session*, LEX_STRING name, List<Item>*) = 0;
149
 
 
150
 
protected:
151
 
  /** Constructor. */
152
 
  Create_native_func() {}
153
149
};
154
150
 
155
151
 
168
164
    @return An item representing the function call
169
165
  */
170
166
  virtual Item* create(Session *session) = 0;
171
 
 
172
 
protected:
173
 
  /** Constructor. */
174
 
  Create_func_arg0() {}
175
167
};
176
168
 
177
169
 
191
183
    @return An item representing the function call
192
184
  */
193
185
  virtual Item* create(Session *session, Item *arg1) = 0;
194
 
 
195
 
protected:
196
 
  /** Constructor. */
197
 
  Create_func_arg1() {}
198
186
};
199
187
 
200
188
 
215
203
    @return An item representing the function call
216
204
  */
217
205
  virtual Item* create(Session *session, Item *arg1, Item *arg2) = 0;
218
 
 
219
 
protected:
220
 
  /** Constructor. */
221
 
  Create_func_arg2() {}
222
206
};
223
207
 
224
208
 
240
224
    @return An item representing the function call
241
225
  */
242
226
  virtual Item* create(Session *session, Item *arg1, Item *arg2, Item *arg3) = 0;
243
 
 
244
 
protected:
245
 
  /** Constructor. */
246
 
  Create_func_arg3() {}
247
227
};
248
228
 
249
229