~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/item_func.h

  • Committer: Monty Taylor
  • Date: 2008-07-09 16:42:25 UTC
  • mto: (77.6.1 glibclient-merge)
  • mto: This revision was merged to the branch mainline in revision 112.
  • Revision ID: monty@inaugust.com-20080709164225-2r6n4j98nhxh031l
Moved test to tests... 

Show diffs side-by-side

added added

removed removed

Lines of Context:
285
285
 
286
286
  void fix_num_length_and_dec();
287
287
  void find_num_type();
288
 
  String *str_op(String *str) { DBUG_ASSERT(0); return 0; }
 
288
  String *str_op(String *str __attribute__((__unused__)))
 
289
  { DBUG_ASSERT(0); return 0; }
289
290
};
290
291
 
291
292
 
302
303
  }
303
304
 
304
305
  void find_num_type();
305
 
  String *str_op(String *str) { DBUG_ASSERT(0); return 0; }
 
306
  String *str_op(String *str __attribute__((__unused__)))
 
307
  { DBUG_ASSERT(0); return 0; }
306
308
};
307
309
 
308
310
 
991
993
{
992
994
protected:
993
995
  udf_handler udf;
994
 
  bool is_expensive_processor(uchar *arg) { return TRUE; }
 
996
  bool is_expensive_processor(uchar *arg __attribute__((__unused__)))
 
997
  { return TRUE; }
995
998
 
996
999
public:
997
1000
  Item_udf_func(udf_func *udf_arg)
1000
1003
    :Item_func(list), udf(udf_arg) {}
1001
1004
  const char *func_name() const { return udf.name(); }
1002
1005
  enum Functype functype() const   { return UDF_FUNC; }
1003
 
  bool fix_fields(THD *thd, Item **ref)
 
1006
  bool fix_fields(THD *thd, Item **ref __attribute__((__unused__)))
1004
1007
  {
1005
1008
    DBUG_ASSERT(fixed == 0);
1006
1009
    bool res= udf.fix_fields(thd, this, arg_count, args);