~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.h

  • Committer: Monty Taylor
  • Date: 2009-12-21 03:44:51 UTC
  • mto: (1253.2.3 out-of-tree)
  • mto: This revision was merged to the branch mainline in revision 1250.
  • Revision ID: mordred@inaugust.com-20091221034451-hmztoep4qbaqne8w
Trims more out of server_includes.h.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
#include "drizzled/table_list.h"
36
36
#include "drizzled/table_share.h"
37
37
#include "drizzled/atomics.h"
 
38
#include "drizzled/query_id.h"
38
39
 
39
40
class Item;
40
41
class Item_subselect;
511
512
 
512
513
};
513
514
 
 
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,
 
521
                          Table *outparam);
 
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);
 
526
 
 
527
int test_if_number(char *str,int *res,bool allow_wildcards);
 
528
void change_byte(unsigned char *,uint,char,char);
 
529
 
 
530
namespace drizzled { namespace optimizer { class SqlSelect; } }
 
531
 
 
532
ha_rows filesort(Session *session,
 
533
                 Table *form,
 
534
                 struct st_sort_field *sortorder,
 
535
                             uint32_t s_length,
 
536
                 drizzled::optimizer::SqlSelect *select,
 
537
                             ha_rows max_rows,
 
538
                 bool sort_positions,
 
539
                 ha_rows *examined_rows);
 
540
 
 
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,
 
544
                       bool truncate);
 
545
int get_quick_record(drizzled::optimizer::SqlSelect *select);
 
546
 
 
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 */