~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/client/concurrent.h

  • Committer: Brian Aker
  • Date: 2011-06-28 06:01:55 UTC
  • mto: This revision was merged to the branch mainline in revision 2352.
  • Revision ID: brian@tangent.org-20110628060155-lsrhf05ioi0baa17
Fix for valgrind warning in execute()

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
  void pushSQL(const std::string &arg)
109
109
  {
110
110
    ::drizzled::error_t err_msg;
111
 
    ::drizzled::execute::Context *context= new ::drizzled::execute::Context(arg.data(), arg.size(), err_msg);
112
 
    std::vector<std::string> parsed_tokens= context->start();
 
111
    ::drizzled::execute::Context context(arg.data(), arg.size(), err_msg);
 
112
    std::vector<std::string> parsed_tokens= context.start();
113
113
 
114
114
    {
115
115
      drizzled::util::String byte;