~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/transaction_services.cc

  • Committer: David Shrewsbury
  • Date: 2011-03-01 19:35:29 UTC
  • mto: (2213.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2214.
  • Revision ID: shrewsbury.dave@gmail.com-20110301193529-a04e55ce1m351jd3
Output USE from statement transform code for RAW_SQL with an identified schema. Set schema name from Session for RENAME.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2135
2135
 
2136
2136
  initStatementMessage(*statement, message::Statement::RAW_SQL, session);
2137
2137
  statement->set_sql(query);
2138
 
  statement->set_raw_sql_schema(schema);
 
2138
  if (not schema.empty())
 
2139
    statement->set_raw_sql_schema(schema);
2139
2140
  finalizeStatementMessage(*statement, session);
2140
2141
 
2141
2142
  finalizeTransactionMessage(*transaction, session);