~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/data_engine/processlist.cc

Fix interface (we no longer need Fields passed around).

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
  pthread_mutex_unlock(&LOCK_thread_count);
55
55
}
56
56
 
57
 
bool ProcesslistTool::Generator::populate(Field ** fields)
 
57
bool ProcesslistTool::Generator::populate()
58
58
{
59
 
  Field **field= fields;
60
59
  const char *val;
61
60
  Session* tmp;
62
61
  Security_context *tmp_sctx;
68
67
  tmp_sctx= &tmp->security_ctx;
69
68
 
70
69
  /* ID */
71
 
  (*field)->store((int64_t) tmp->thread_id, true);
72
 
  field++;
 
70
  push((int64_t) tmp->thread_id);
73
71
 
74
72
 
75
73
  /* USER */