~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

* Changes Session::warn_id to Session::warn_query_id
* Makes Session::query_id and Session::warn_query_id private members
* Adds getters and setters for above members
* Changes ReplicationServices::initTransactionMessage() to use
  Session::getQueryId() instead of Session::getTransactionId()

Show diffs side-by-side

added added

removed removed

Lines of Context:
181
181
  session->command= command;
182
182
  session->lex->sql_command= SQLCOM_END; /* to avoid confusing VIEW detectors */
183
183
  session->set_time();
184
 
  session->query_id= query_id.value();
 
184
  session->setQueryId(query_id.value());
185
185
 
186
186
  switch( command ) {
187
187
  /* Ignore these statements. */