~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/benchmark/benchmarkudf.cc

  • Committer: lbieber
  • Date: 2010-10-02 04:02:25 UTC
  • mfrom: (1806.1.1 build)
  • Revision ID: lbieber@orisndriz08-20101002040225-w8mn2h0nh5587a6f
Merge Andrew: fix bug 652966 - Drizzledump migration code doesn't handle YEAR type

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
 
58
58
  char buff[MAX_FIELD_WIDTH];
59
59
  String tmp(buff,sizeof(buff), &my_charset_bin);
60
 
  type::Decimal tmp_decimal;
 
60
  my_decimal tmp_decimal;
61
61
  Session *session= current_session;
62
62
  uint64_t loop_count;
63
63
 
81
81
  null_value= false;
82
82
 
83
83
  uint64_t loop;
84
 
  for (loop= 0 ; loop < loop_count && not session->getKilled(); loop++)
 
84
  for (loop= 0 ; loop < loop_count && !session->killed; loop++)
85
85
  {
86
86
    switch (args[1]->result_type()) 
87
87
    {
134
134
  "Measure time for repeated calls to a function.",
135
135
  PLUGIN_LICENSE_GPL,
136
136
  initialize, /* Plugin Init */
137
 
  NULL,   /* depends */
 
137
  NULL,   /* system variables */
138
138
  NULL    /* config options */
139
139
}
140
140
DRIZZLE_DECLARE_PLUGIN_END;