~jaypipes/drizzle/item-class-file-reorg

« back to all changes in this revision

Viewing changes to server/sql_lex.cc

  • Committer: Brian Aker
  • Date: 2008-07-26 18:39:33 UTC
  • mfrom: (212.1.3 codestyle)
  • Revision ID: brian@tangent.org-20080726183933-hueup0fcy2zs1hug
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
1831
1831
  }
1832
1832
}
1833
1833
 
1834
 
bool st_select_lex_node::set_braces(bool value __attribute__((__unused__)))
 
1834
bool st_select_lex_node::set_braces(bool value __attribute__((unused)))
1835
1835
{ return 1; }
1836
1836
bool st_select_lex_node::inc_in_sum_expr()           { return 1; }
1837
1837
uint st_select_lex_node::get_in_sum_expr()           { return 0; }
1838
1838
TABLE_LIST* st_select_lex_node::get_table_list()     { return 0; }
1839
1839
List<Item>* st_select_lex_node::get_item_list()      { return 0; }
1840
 
TABLE_LIST *st_select_lex_node::add_table_to_list (THD *thd __attribute__((__unused__)),
1841
 
                                                   Table_ident *table __attribute__((__unused__)),
1842
 
                                                  LEX_STRING *alias __attribute__((__unused__)),
1843
 
                                                  uint32_t table_join_options __attribute__((__unused__)),
1844
 
                                                  thr_lock_type flags __attribute__((__unused__)),
1845
 
                                                  List<Index_hint> *hints __attribute__((__unused__)),
1846
 
                                                  LEX_STRING *option __attribute__((__unused__)))
 
1840
TABLE_LIST *st_select_lex_node::add_table_to_list (THD *thd __attribute__((unused)),
 
1841
                                                   Table_ident *table __attribute__((unused)),
 
1842
                                                  LEX_STRING *alias __attribute__((unused)),
 
1843
                                                  uint32_t table_join_options __attribute__((unused)),
 
1844
                                                  thr_lock_type flags __attribute__((unused)),
 
1845
                                                  List<Index_hint> *hints __attribute__((unused)),
 
1846
                                                  LEX_STRING *option __attribute__((unused)))
1847
1847
{
1848
1848
  return 0;
1849
1849
}
1885
1885
}
1886
1886
 
1887
1887
 
1888
 
bool st_select_lex::add_item_to_list(THD *thd __attribute__((__unused__)),
 
1888
bool st_select_lex::add_item_to_list(THD *thd __attribute__((unused)),
1889
1889
                                     Item *item)
1890
1890
{
1891
1891
  return(item_list.push_back(item));
2021
2021
}
2022
2022
 
2023
2023
 
2024
 
void st_select_lex::print_limit(THD *thd __attribute__((__unused__)),
 
2024
void st_select_lex::print_limit(THD *thd __attribute__((unused)),
2025
2025
                                String *str,
2026
2026
                                enum_query_type query_type)
2027
2027
{
2073
2073
  to implement the clean up.
2074
2074
*/
2075
2075
 
2076
 
void st_lex::cleanup_lex_after_parse_error(THD *thd __attribute__((__unused__)))
 
2076
void st_lex::cleanup_lex_after_parse_error(THD *thd __attribute__((unused)))
2077
2077
{
2078
2078
}
2079
2079
 
2569
2569
      backup  Pointer to Query_tables_list instance to be used for backup
2570
2570
*/
2571
2571
 
2572
 
void st_lex::reset_n_backup_query_tables_list(Query_tables_list *backup __attribute__((__unused__)))
 
2572
void st_lex::reset_n_backup_query_tables_list(Query_tables_list *backup __attribute__((unused)))
2573
2573
{
2574
2574
}
2575
2575
 
2582
2582
      backup  Pointer to Query_tables_list instance used for backup
2583
2583
*/
2584
2584
 
2585
 
void st_lex::restore_backup_query_tables_list(Query_tables_list *backup __attribute__((__unused__)))
 
2585
void st_lex::restore_backup_query_tables_list(Query_tables_list *backup __attribute__((unused)))
2586
2586
{
2587
2587
}
2588
2588