~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/benchmark/benchmarkudf.cc

  • Committer: Andrew Hutchings
  • Date: 2010-10-20 15:31:27 UTC
  • mto: This revision was merged to the branch mainline in revision 1907.
  • Revision ID: andrew@linuxjedi.co.uk-20101020153127-w9djuz9omzezg2kz
Add error message for global sort buffer constraint

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;