~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.cc

  • Committer: Mark Atwood
  • Date: 2011-08-21 06:56:57 UTC
  • mfrom: (2385.3.34 rf)
  • Revision ID: me@mark.atwood.name-20110821065657-vk2at03z9u17mf1d
mergeĀ lp:~olafvdspek/drizzle/refactor7

Show diffs side-by-side

added added

removed removed

Lines of Context:
2030
2030
    Then the context variable index_hint_type can be reset to the
2031
2031
    next hint type.
2032
2032
*/
2033
 
void Select_Lex::set_index_hint_type(enum index_hint_type type_arg, index_clause_map clause)
 
2033
void Select_Lex::set_index_hint_type(index_hint_type type_arg, index_clause_map clause)
2034
2034
{
2035
2035
  current_index_hint_type= type_arg;
2036
2036
  current_index_hint_clause= clause;
2061
2061
  RETURN VALUE
2062
2062
    0 on success, non-zero otherwise
2063
2063
*/
2064
 
void Select_Lex::add_index_hint(Session *session, char *str, uint32_t length)
 
2064
void Select_Lex::add_index_hint(Session *session, const char *str)
2065
2065
{
2066
 
  index_hints->push_front(new (session->mem_root) Index_hint(current_index_hint_type, current_index_hint_clause, str, length));
 
2066
  index_hints->push_front(new (session->mem_root) Index_hint(current_index_hint_type, current_index_hint_clause, str));
2067
2067
}
2068
2068
 
2069
2069
message::AlterTable *LEX::alter_table()