~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/parser.cc

  • Committer: Mark Atwood
  • Date: 2011-10-18 16:54:23 UTC
  • mfrom: (2440.2.4 rf)
  • Revision ID: me@mark.atwood.name-20111018165423-vboh6wowjnvn434f
mergeĀ lp:~olafvdspek/drizzle/refactor4

Show diffs side-by-side

added added

removed removed

Lines of Context:
301
301
  return true;
302
302
}
303
303
 
304
 
void buildEngineOption(LEX *lex, const char *key, const lex_string_t &value)
 
304
void buildEngineOption(LEX *lex, const char *key, str_ref value)
305
305
{
306
306
  message::Engine::Option *opt= lex->table()->mutable_engine()->add_options();
307
307
  opt->set_name(key);
315
315
  opt->set_state(boost::lexical_cast<std::string>(value));
316
316
}
317
317
 
318
 
void buildSchemaOption(LEX *lex, const char *key, const lex_string_t &value)
 
318
void buildSchemaOption(LEX *lex, const char *key, str_ref value)
319
319
{
320
320
  statement::CreateSchema *statement= (statement::CreateSchema *)lex->statement;
321
321
  message::Engine::Option *opt= statement->schema_message.mutable_engine()->add_options();