~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Mark Atwood
  • Date: 2011-08-12 04:08:33 UTC
  • mfrom: (2385.2.17 refactor5)
  • Revision ID: me@mark.atwood.name-20110812040833-u6j85nc6ahuc0dtz
mergeĀ lp:~olafvdspek/drizzle/refactor5

Show diffs side-by-side

added added

removed removed

Lines of Context:
409
409
     We have to make non const db_name & table_name
410
410
     because of lower_case_table_names
411
411
  */
412
 
  session.make_lex_string(&db, "data_dictionary", sizeof("data_dictionary"), false);
413
 
  session.make_lex_string(&table, schema_table_name, false);
 
412
  session.make_lex_string(&db, str_ref("data_dictionary"));
 
413
  session.make_lex_string(&table, schema_table_name);
414
414
  return not sel.add_table_to_list(&session, new Table_ident(db, table), NULL, table_options, TL_READ);
415
415
}
416
416