~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/execute/parser.yy

  • 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:
124
124
  {
125
125
    parsed_queries.push_back(query.substr(0, pos));
126
126
    if (query[pos+1] == ' ')
 
127
    {
127
128
      query= query.substr(pos + 2, query.length());
 
129
    }
128
130
    else
 
131
    {
129
132
      query= query.substr(pos + 1, query.length());
 
133
    }
130
134
  }
131
135
  parsed_queries.push_back(query); 
132
136
  query.clear();
 
137
 
133
138
  return parsed_queries;
134
139
}
135
140