~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/statement_transform.cc

more updates

Show diffs side-by-side

added added

removed removed

Lines of Context:
339
339
    }
340
340
    break;
341
341
  case Statement::RAW_SQL:
 
342
    {
 
343
      if (source.has_raw_sql_schema())
 
344
      {
 
345
        string destination("USE ");
 
346
        destination.append(source.raw_sql_schema());
 
347
        sql_strings.push_back(destination);
 
348
      }
 
349
      sql_strings.push_back(source.sql());
 
350
    }
 
351
    break;
342
352
  default:
343
353
    sql_strings.push_back(source.sql());
344
354
    break;