~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/session_dictionary/processlist.cc

  • Committer: Brian Aker
  • Date: 2010-12-22 16:40:49 UTC
  • mto: (2022.2.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2025.
  • Revision ID: brian@tangent.org-20101222164049-vjbi97jztrlr01l1
Encapsulate client call. Also remove the need to call current_session when
looking for privs for processlist.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
}
51
51
 
52
52
ProcesslistTool::Generator::Generator(Field **arg) :
53
 
  plugin::TableFunction::Generator(arg)
 
53
  plugin::TableFunction::Generator(arg),
 
54
  session_generator(*getSession().user())
54
55
{
55
56
  now= time(NULL);
56
57
}