~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.cc

Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
2169
2169
  RETURN VALUE
2170
2170
    0 on success, non-zero otherwise
2171
2171
*/
2172
 
bool Select_Lex::add_index_hint (Session *session, char *str, uint32_t length)
 
2172
void Select_Lex::add_index_hint(Session *session, char *str, uint32_t length)
2173
2173
{
2174
2174
  index_hints->push_front(new (session->mem_root) Index_hint(current_index_hint_type, current_index_hint_clause, str, length));
2175
 
        return false; // todo: return void
2176
2175
}
2177
2176
 
2178
2177
bool check_for_sql_keyword(drizzled::lex_string_t const& string)