~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.h

  • Committer: Brian Aker
  • Date: 2008-10-20 04:28:21 UTC
  • mto: (492.3.21 drizzle-clean-code)
  • mto: This revision was merged to the branch mainline in revision 530.
  • Revision ID: brian@tangent.org-20081020042821-rqqdrccuu8195k3y
Second pass of thd cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#ifndef DRIZZLE_SERVER_SQL_TABLE_H
27
27
#define DRIZZLE_SERVER_SQL_TABLE_H
28
28
 
29
 
bool mysql_rm_table(Session *thd,TableList *tables, bool if_exists,
 
29
bool mysql_rm_table(Session *session,TableList *tables, bool if_exists,
30
30
                    bool drop_temporary);
31
 
int mysql_rm_table_part2(Session *thd, TableList *tables, bool if_exists,
 
31
int mysql_rm_table_part2(Session *session, TableList *tables, bool if_exists,
32
32
                         bool drop_temporary, bool drop_view, bool log_query);
33
33
bool quick_rm_table(handlerton *base,const char *db,
34
34
                    const char *table_name, uint32_t flags);
35
 
void close_cached_table(Session *thd, Table *table);
 
35
void close_cached_table(Session *session, Table *table);
36
36
 
37
 
void wait_while_table_is_used(Session *thd, Table *table,
 
37
void wait_while_table_is_used(Session *session, Table *table,
38
38
                              enum ha_extra_function function);
39
 
bool mysql_checksum_table(Session* thd, TableList* table_list,
 
39
bool mysql_checksum_table(Session* session, TableList* table_list,
40
40
                          HA_CHECK_OPT* check_opt);
41
 
bool mysql_check_table(Session* thd, TableList* table_list,
 
41
bool mysql_check_table(Session* session, TableList* table_list,
42
42
                       HA_CHECK_OPT* check_opt);
43
 
bool mysql_repair_table(Session* thd, TableList* table_list,
 
43
bool mysql_repair_table(Session* session, TableList* table_list,
44
44
                        HA_CHECK_OPT* check_opt);
45
 
bool mysql_analyze_table(Session* thd, TableList* table_list,
 
45
bool mysql_analyze_table(Session* session, TableList* table_list,
46
46
                         HA_CHECK_OPT* check_opt);
47
 
bool mysql_optimize_table(Session* thd, TableList* table_list,
 
47
bool mysql_optimize_table(Session* session, TableList* table_list,
48
48
                          HA_CHECK_OPT* check_opt);
49
49
 
50
 
bool mysql_assign_to_keycache(Session* thd, TableList* table_list,
 
50
bool mysql_assign_to_keycache(Session* session, TableList* table_list,
51
51
                              LEX_STRING *key_cache_name);
52
 
bool mysql_preload_keys(Session* thd, TableList* table_list);
53
 
int reassign_keycache_tables(Session* thd, KEY_CACHE *src_cache,
 
52
bool mysql_preload_keys(Session* session, TableList* table_list);
 
53
int reassign_keycache_tables(Session* session, KEY_CACHE *src_cache,
54
54
                             KEY_CACHE *dst_cache);
55
55
 
56
56
#endif /* DRIZZLE_SERVER_SQL_TABLE_H */