~posulliv/drizzle/optimizer-style-cleanup

« back to all changes in this revision

Viewing changes to drizzled/sql_base.h

  • Committer: Padraig O'Sullivan
  • Date: 2010-03-15 14:05:26 UTC
  • mfrom: (1237.9.99 staging)
  • Revision ID: osullivan.padraig@gmail.com-20100315140526-opbgwdwn6tfecdkq
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
void table_cache_free(void);
31
31
bool table_cache_init(void);
32
 
void assign_new_table_id(TableShare *share);
33
32
uint32_t cached_open_tables(void);
34
33
uint32_t cached_table_definitions(void);
 
34
HASH *get_open_cache();
35
35
 
36
36
void kill_drizzle(void);
37
37
 
129
129
                               const char *table_name);
130
130
TableList *unique_table(TableList *table, TableList *table_list,
131
131
                        bool check_alias= false);
132
 
void remove_db_from_cache(const char *db);
 
132
void remove_db_from_cache(const std::string schema_name);
133
133
 
134
134
/* bits for last argument to remove_table_from_cache() */
135
135
#define RTFC_NO_FLAG                0x0000
143
143
 
144
144
bool fill_record(Session* session, List<Item> &fields, List<Item> &values, bool ignore_errors= false);
145
145
bool fill_record(Session *session, Field **field, List<Item> &values, bool ignore_errors= false);
146
 
bool list_open_tables(const char *db,
147
 
                      const char *wild,
148
 
                      bool(*func)(Table *table,
149
 
                                  open_table_list_st& open_list,
150
 
                                  plugin::InfoSchemaTable *schema_table),
151
 
                      Table *display,
152
 
                      plugin::InfoSchemaTable *schema_table);
153
 
 
154
146
inline TableList *find_table_in_global_list(TableList *table,
155
147
                                             const char *db_name,
156
148
                                             const char *table_name)