~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/benchmark/benchmarkudf.cc

  • Committer: Stewart Smith
  • Date: 2011-03-03 08:29:06 UTC
  • mto: (2216.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2217.
  • Revision ID: stewart@flamingspork.com-20110303082906-5zhmxub1j7au038u
remove enum_query_type which was effectively unused. It was set to one value once, compared to it once (i.e. always true) and passed around everywhere doing nothing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
public:
32
32
  BenchmarkFunction() :Item_int_func() {}
33
33
  int64_t val_int();
34
 
  virtual void print(String *str, enum_query_type query_type);
 
34
  virtual void print(String *str);
35
35
 
36
36
  const char *func_name() const
37
37
  { 
107
107
  return 0;
108
108
}
109
109
 
110
 
void BenchmarkFunction::print(String *str, enum_query_type query_type)
 
110
void BenchmarkFunction::print(String *str)
111
111
{
112
112
  str->append(STRING_WITH_LEN("benchmark("));
113
 
  args[0]->print(str, query_type);
 
113
  args[0]->print(str);
114
114
  str->append(',');
115
 
  args[1]->print(str, query_type);
 
115
  args[1]->print(str);
116
116
  str->append(')');
117
117
}
118
118