~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-06-27 12:02:47 UTC
  • mto: This revision was merged to the branch mainline in revision 2350.
  • Revision ID: olafvdspek@gmail.com-20110627120247-8fjtlvfr744o9fxm
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
274
274
public:
275
275
  using Create_func_arg3::create;
276
276
 
277
 
  virtual Item* create(Session *session, Item *arg1, Item *arg2, Item *arg3);
 
277
  virtual Item* create(Session *session, Item *arg1, Item *arg2, Item *arg3)
 
278
  {
 
279
    return new (session->mem) Item_func_conv(arg1, arg2, arg3);
 
280
  }
278
281
 
279
282
  static Create_func_conv s_singleton;
280
 
 
281
283
protected:
282
284
  Create_func_conv() {}
283
285
};
284
286
 
 
287
Create_func_conv Create_func_conv::s_singleton;
 
288
 
285
289
class Create_func_cot : public Create_func_arg1
286
290
{
287
291
public:
1175
1179
  return new (session->mem) Item_func_concat_ws(*session, *item_list);
1176
1180
}
1177
1181
 
1178
 
 
1179
 
Create_func_conv Create_func_conv::s_singleton;
1180
 
 
1181
 
Item*
1182
 
Create_func_conv::create(Session *session, Item *arg1, Item *arg2, Item *arg3)
1183
 
{
1184
 
  return new (session->mem) Item_func_conv(arg1, arg2, arg3);
1185
 
}
1186
 
 
1187
1182
Create_func_cot Create_func_cot::s_singleton;
1188
1183
 
1189
1184
Item*