~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/performance_dictionary/session_usage.cc

  • Committer: Brian Aker
  • Date: 2010-10-25 23:36:21 UTC
  • mto: This revision was merged to the branch mainline in revision 1879.
  • Revision ID: brian@tangent.org-20101025233621-cyh9te7mijw0al2r
Additional dynamic_cast removal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
  drizzled::plugin::TableFunction::Generator(arg),
62
62
  usage_cache(0)
63
63
64
 
  usage_cache= dynamic_cast<QueryUsage *>(getSession().getProperty("query_usage"));
 
64
  usage_cache= static_cast<QueryUsage *>(getSession().getProperty("query_usage"));
65
65
  if (usage_cache)
66
66
    query_iter= usage_cache->list().rbegin();
67
67
}