~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.cc

  • Committer: Brian Aker
  • Date: 2008-12-05 07:20:46 UTC
  • Revision ID: brian@tangent.org-20081205072046-kg4gs7zudeukbzlx
Remove unused (yet more)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1798
1798
  }
1799
1799
}
1800
1800
 
1801
 
bool st_select_lex_node::set_braces(bool value __attribute__((unused)))
 
1801
bool st_select_lex_node::set_braces(bool)
1802
1802
{ return 1; }
1803
1803
bool st_select_lex_node::inc_in_sum_expr()           { return 1; }
1804
1804
uint32_t st_select_lex_node::get_in_sum_expr()           { return 0; }
1805
1805
TableList* st_select_lex_node::get_table_list()     { return 0; }
1806
1806
List<Item>* st_select_lex_node::get_item_list()      { return 0; }
1807
 
TableList *st_select_lex_node::add_table_to_list (Session *session __attribute__((unused)),
1808
 
                                                   Table_ident *table __attribute__((unused)),
1809
 
                                                  LEX_STRING *alias __attribute__((unused)),
1810
 
                                                  uint32_t table_join_options __attribute__((unused)),
1811
 
                                                  thr_lock_type flags __attribute__((unused)),
1812
 
                                                  List<Index_hint> *hints __attribute__((unused)),
1813
 
                                                  LEX_STRING *option __attribute__((unused)))
 
1807
TableList *st_select_lex_node::add_table_to_list (Session *, Table_ident *, LEX_STRING *, uint32_t, 
 
1808
                                                  thr_lock_type, List<Index_hint> *, LEX_STRING *)
1814
1809
{
1815
1810
  return 0;
1816
1811
}
1852
1847
}
1853
1848
 
1854
1849
 
1855
 
bool st_select_lex::add_item_to_list(Session *session __attribute__((unused)),
1856
 
                                     Item *item)
 
1850
bool st_select_lex::add_item_to_list(Session *, Item *item)
1857
1851
{
1858
1852
  return(item_list.push_back(item));
1859
1853
}
1983
1977
}
1984
1978
 
1985
1979
 
1986
 
void st_select_lex::print_limit(Session *session __attribute__((unused)),
1987
 
                                String *str,
 
1980
void st_select_lex::print_limit(Session *, String *str,
1988
1981
                                enum_query_type query_type)
1989
1982
{
1990
1983
  SELECT_LEX_UNIT *unit= master_unit();
2035
2028
  to implement the clean up.
2036
2029
*/
2037
2030
 
2038
 
void LEX::cleanup_lex_after_parse_error(Session *session __attribute__((unused)))
 
2031
void LEX::cleanup_lex_after_parse_error(Session *)
2039
2032
{
2040
2033
}
2041
2034
 
2391
2384
      backup  Pointer to Query_tables_list instance to be used for backup
2392
2385
*/
2393
2386
 
2394
 
void LEX::reset_n_backup_query_tables_list(Query_tables_list *backup __attribute__((unused)))
 
2387
void LEX::reset_n_backup_query_tables_list(Query_tables_list *)
2395
2388
{
2396
2389
}
2397
2390
 
2404
2397
      backup  Pointer to Query_tables_list instance used for backup
2405
2398
*/
2406
2399
 
2407
 
void LEX::restore_backup_query_tables_list(Query_tables_list *backup __attribute__((unused)))
 
2400
void LEX::restore_backup_query_tables_list(Query_tables_list *)
2408
2401
{
2409
2402
}
2410
2403