~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/benchmark/benchmarkudf.cc

  • Committer: Brian Aker
  • Date: 2010-12-02 05:20:13 UTC
  • mto: This revision was merged to the branch mainline in revision 1968.
  • Revision ID: brian@tangent.org-20101202052013-idifz62qat1ayhsn
Style change around session list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
  null_value= false;
82
82
 
83
83
  uint64_t loop;
84
 
  for (loop= 0 ; loop < loop_count && !session->killed; loop++)
 
84
  for (loop= 0 ; loop < loop_count && not session->getKilled(); loop++)
85
85
  {
86
86
    switch (args[1]->result_type()) 
87
87
    {
118
118
 
119
119
plugin::Create_function<BenchmarkFunction> *benchmarkudf= NULL;
120
120
 
121
 
static int initialize(plugin::Context &context)
 
121
static int initialize(module::Context &context)
122
122
{
123
123
  benchmarkudf= new plugin::Create_function<BenchmarkFunction>("benchmark");
124
124
  context.add(benchmarkudf);