~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.h

  • Committer: Brian Aker
  • Date: 2009-06-09 01:59:10 UTC
  • mfrom: (1054.1.11 merge)
  • Revision ID: brian@gaz-20090609015910-0sfsovp2x8wfbr2c
Merge Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
void add_join_on(TableList *b,Item *expr);
60
60
void add_join_natural(TableList *a,TableList *b,List<String> *using_fields,
61
61
                      Select_Lex *lex);
62
 
void unlink_open_table(Session *session, Table *find, bool unlock);
 
62
void unlink_open_table(Session *session, Table *find);
63
63
void drop_open_table(Session *session, Table *table, const char *db_name,
64
64
                     const char *table_name);
65
 
void update_non_unique_table_error(TableList *update,
66
 
                                   const char *operation,
67
 
                                   TableList *duplicate);
68
65
 
69
66
SQL_SELECT *make_select(Table *head, table_map const_tables,
70
67
                        table_map read_tables, COND *conds,
136
133
int init_ftfuncs(Session *session, Select_Lex* select, bool no_order);
137
134
void wait_for_condition(Session *session, pthread_mutex_t *mutex,
138
135
                        pthread_cond_t *cond);
139
 
int open_tables(Session *session, TableList **tables, uint32_t *counter, uint32_t flags);
 
136
int open_tables_from_list(Session *session, TableList **tables, uint32_t *counter, uint32_t flags);
140
137
/* open_and_lock_tables with optional derived handling */
141
138
int open_and_lock_tables_derived(Session *session, TableList *tables, bool derived);
142
 
/* open_and_lock_tables with derived handling */
143
 
inline int open_and_lock_tables(Session *session, TableList *tables)
144
 
{
145
 
  return open_and_lock_tables_derived(session, tables, true);
146
 
}
147
139
bool open_normal_and_derived_tables(Session *session, TableList *tables, uint32_t flags);
148
140
int lock_tables(Session *session, TableList *tables, uint32_t counter, bool *need_reopen);
149
141
int decide_logging_format(Session *session);