~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cursor.h

  • Committer: Siddharth Prakash Singh
  • Date: 2010-03-26 19:25:23 UTC
  • mfrom: (1410 drizzle)
  • mto: This revision was merged to the branch mainline in revision 1425.
  • Revision ID: spsneo@spsneo-laptop-20100326192523-ibjlbt1p692vobtj
merging with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
/* Bits to show what an alter table will do */
40
40
#include <drizzled/sql_bitmap.h>
41
41
 
42
 
#include <drizzled/cursor.h>
43
 
 
44
42
#include <bitset>
45
43
#include <algorithm>
46
44
 
90
88
 
91
89
typedef struct system_status_var system_status_var;
92
90
 
93
 
class COST_VECT;
 
91
namespace optimizer
 
92
{
 
93
  class CostVector;
 
94
}
94
95
 
95
96
uint32_t calculate_key_len(Table *, uint, const unsigned char *, key_part_map);
96
97
/*
298
299
  virtual ha_rows multi_range_read_info_const(uint32_t keyno, RANGE_SEQ_IF *seq,
299
300
                                              void *seq_init_param,
300
301
                                              uint32_t n_ranges, uint32_t *bufsz,
301
 
                                              uint32_t *flags, COST_VECT *cost);
 
302
                                              uint32_t *flags, optimizer::CostVector *cost);
302
303
  virtual int multi_range_read_info(uint32_t keyno, uint32_t n_ranges, uint32_t keys,
303
 
                                    uint32_t *bufsz, uint32_t *flags, COST_VECT *cost);
 
304
                                    uint32_t *bufsz, uint32_t *flags, optimizer::CostVector *cost);
304
305
  virtual int multi_range_read_init(RANGE_SEQ_IF *seq, void *seq_init_param,
305
306
                                    uint32_t n_ranges, uint32_t mode,
306
307
                                    HANDLER_BUFFER *buf);
720
721
                                HA_CREATE_INFO *create_info,
721
722
                                message::Table &table_proto,
722
723
                                AlterInfo *alter_info,
723
 
                                bool tmp_table,
724
 
                                uint32_t select_field_count,
 
724
                                bool tmp_table, uint32_t select_field_count,
725
725
                                bool is_if_not_exists);
726
726
 
727
727
bool mysql_create_like_table(Session* session,
731
731
                             bool is_if_not_exists,
732
732
                             bool is_engine_set);
733
733
 
734
 
bool mysql_rename_table(plugin::StorageEngine *base, const char *old_db,
735
 
                        const char * old_name, const char *new_db,
736
 
                        const char * new_name, uint32_t flags);
 
734
bool mysql_rename_table(plugin::StorageEngine *base,
 
735
                        TableIdentifier &old_identifier,
 
736
                        TableIdentifier &new_identifier,
 
737
                        uint32_t flags);
737
738
 
738
739
bool mysql_prepare_update(Session *session, TableList *table_list,
739
740
                          Item **conds, uint32_t order_num, order_st *order);