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,
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);
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);