515
TableShare *alloc_table_share(TableList *table_list, char *key,
516
uint32_t key_length);
517
int open_table_def(Session& session, TableShare *share);
518
void open_table_error(TableShare *share, int error, int db_errno, int errarg);
519
int open_table_from_share(Session *session, TableShare *share, const char *alias,
520
uint32_t db_stat, uint32_t prgflag, uint32_t ha_open_flags,
522
void free_blobs(Table *table);
523
int set_zone(int nr,int min_zone,int max_zone);
524
uint32_t convert_period_to_month(uint32_t period);
525
uint32_t convert_month_to_period(uint32_t month);
527
int test_if_number(char *str,int *res,bool allow_wildcards);
528
void change_byte(unsigned char *,uint,char,char);
530
namespace drizzled { namespace optimizer { class SqlSelect; } }
532
ha_rows filesort(Session *session,
534
struct st_sort_field *sortorder,
536
drizzled::optimizer::SqlSelect *select,
539
ha_rows *examined_rows);
541
void filesort_free_buffers(Table *table, bool full);
542
void change_double_for_sort(double nr,unsigned char *to);
543
double my_double_round(double value, int64_t dec, bool dec_unsigned,
545
int get_quick_record(drizzled::optimizer::SqlSelect *select);
547
void find_date(char *pos,uint32_t *vek,uint32_t flag);
548
TYPELIB *convert_strings_to_array_type(char * *typelibs, char * *end);
549
TYPELIB *typelib(MEM_ROOT *mem_root, List<String> &strings);
550
ulong get_form_pos(int file, unsigned char *head, TYPELIB *save_names);
551
ulong next_io_size(ulong pos);
552
void append_unescaped(String *res, const char *pos, uint32_t length);
514
553
#endif /* DRIZZLED_TABLE_H */