~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.h

  • Committer: Brian Aker
  • Date: 2008-10-29 13:46:43 UTC
  • Revision ID: brian@tangent.org-20081029134643-z6jcwjvyruhk2vlu
Updates for ignore file.

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
 
class Session;
30
 
class TableList;
31
 
typedef struct st_ha_check_opt HA_CHECK_OPT;
32
 
class Table;
33
 
typedef struct st_key_cache KEY_CACHE;
34
 
 
35
29
bool mysql_rm_table(Session *session,TableList *tables, bool if_exists,
36
30
                    bool drop_temporary);
37
31
int mysql_rm_table_part2(Session *session, TableList *tables, bool if_exists,
38
 
                         bool drop_temporary, bool log_query);
 
32
                         bool drop_temporary, bool drop_view, bool log_query);
39
33
bool quick_rm_table(handlerton *base,const char *db,
40
34
                    const char *table_name, uint32_t flags);
41
35
void close_cached_table(Session *session, Table *table);
58
52
bool mysql_preload_keys(Session* session, TableList* table_list);
59
53
int reassign_keycache_tables(Session* session, KEY_CACHE *src_cache,
60
54
                             KEY_CACHE *dst_cache);
61
 
void write_bin_log(Session *session, bool clear_error,
62
 
                   char const *query, ulong query_length);
63
 
 
64
 
bool is_primary_key(KEY *key_info);
65
 
const char* is_primary_key_name(const char* key_name);
66
55
 
67
56
#endif /* DRIZZLE_SERVER_SQL_TABLE_H */