~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/performance_dictionary/session_usage_logger.cc

  • Committer: Brian Aker
  • Date: 2010-11-16 05:02:44 UTC
  • mto: This revision was merged to the branch mainline in revision 1934.
  • Revision ID: brian@tangent.org-20101116050244-n4oj7szpg3mvz483
1) Make sure the query string always has an std::string in it. 
2) Fix performance schema such that we pass down the shared_ptr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    session->setProperty("query_usage", usage_cache);
49
49
  }
50
50
 
51
 
  usage_cache->push(*session->getQueryString(), session->getUsage());
 
51
  usage_cache->push(session->getQueryString(), session->getUsage());
52
52
 
53
53
  return false;
54
54
}