~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/csv/ha_tina.h

  • Committer: Brian Aker
  • Date: 2008-10-06 05:57:49 UTC
  • Revision ID: brian@tangent.org-20081006055749-svg700gciuqi0zu1
Remove all of uchar.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
  off_t next_position;     /* Next position in the file scan */
60
60
  off_t local_saved_data_file_length; /* save position for reads */
61
61
  off_t temp_file_length;
62
 
  uchar byte_buffer[IO_SIZE];
 
62
  unsigned char byte_buffer[IO_SIZE];
63
63
  Transparent_file *file_buff;
64
64
  File data_file;                   /* File handler for readers */
65
65
  File update_temp_file;
72
72
  tina_set chain_buffer[DEFAULT_CHAIN_LENGTH];
73
73
  tina_set *chain;
74
74
  tina_set *chain_ptr;
75
 
  uchar chain_alloced;
 
75
  unsigned char chain_alloced;
76
76
  uint32_t chain_size;
77
77
  uint local_data_file_version;  /* Saved version of the data file used */
78
78
  bool records_is_known;
131
131
 
132
132
  int open(const char *name, int mode, uint open_options);
133
133
  int close(void);
134
 
  int write_row(uchar * buf);
135
 
  int update_row(const uchar * old_data, uchar * new_data);
136
 
  int delete_row(const uchar * buf);
 
134
  int write_row(unsigned char * buf);
 
135
  int update_row(const unsigned char * old_data, unsigned char * new_data);
 
136
  int delete_row(const unsigned char * buf);
137
137
  int rnd_init(bool scan=1);
138
 
  int rnd_next(uchar *buf);
139
 
  int rnd_pos(uchar * buf, uchar *pos);
 
138
  int rnd_next(unsigned char *buf);
 
139
  int rnd_pos(unsigned char * buf, unsigned char *pos);
140
140
  bool check_and_repair(THD *thd);
141
141
  int check(THD* thd, HA_CHECK_OPT* check_opt);
142
142
  bool is_crashed() const;
144
144
  int repair(THD* thd, HA_CHECK_OPT* check_opt);
145
145
  /* This is required for SQL layer to know that we support autorepair */
146
146
  bool auto_repair() const { return 1; }
147
 
  void position(const uchar *record);
 
147
  void position(const unsigned char *record);
148
148
  int info(uint);
149
149
  int delete_all_rows(void);
150
150
  int create(const char *name, Table *form, HA_CREATE_INFO *create_info);
162
162
  void update_status();
163
163
 
164
164
  /* The following methods were added just for TINA */
165
 
  int encode_quote(uchar *buf);
166
 
  int find_current_row(uchar *buf);
 
165
  int encode_quote(unsigned char *buf);
 
166
  int find_current_row(unsigned char *buf);
167
167
  int chain_append();
168
168
};
169
169