~mdcallag/+junk/5.1-map

« back to all changes in this revision

Viewing changes to include/myisam.h

  • Committer: sasha at sashanet
  • Date: 2001-04-12 01:09:00 UTC
  • mfrom: (669.1.1)
  • Revision ID: sp1r-sasha@mysql.sashanet.com-20010412010900-14282
Ugly merge of 3.23 changes into 4.0 - fix up needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
2
 
   
 
2
 
3
3
   This library is free software; you can redistribute it and/or
4
4
   modify it under the terms of the GNU Library General Public
5
5
   License as published by the Free Software Foundation; either
6
6
   version 2 of the License, or (at your option) any later version.
7
 
   
 
7
 
8
8
   This library is distributed in the hope that it will be useful,
9
9
   but WITHOUT ANY WARRANTY; without even the implied warranty of
10
10
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11
11
   Library General Public License for more details.
12
 
   
 
12
 
13
13
   You should have received a copy of the GNU Library General Public
14
14
   License along with this library; if not, write to the Free
15
15
   Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
219
219
extern int mi_status(struct st_myisam_info *info, MI_ISAMINFO *x, uint flag);
220
220
extern int mi_lock_database(struct st_myisam_info *file,int lock_type);
221
221
extern int mi_create(const char *name,uint keys,MI_KEYDEF *keydef,
222
 
                     uint columns, MI_COLUMNDEF *columndef, 
 
222
                     uint columns, MI_COLUMNDEF *columndef,
223
223
                     uint uniques, MI_UNIQUEDEF *uniquedef,
224
224
                     MI_CREATE_INFO *create_info, uint flags);
225
225
extern int mi_delete_table(const char *name);
295
295
  struct st_mi_check_param *param;
296
296
  enum data_file_type new_data_file_type;
297
297
  SORT_KEY_BLOCKS *key_block,*key_block_end;
298
 
  uint key,find_length;
 
298
  uint key,find_length,real_key_length;
299
299
  my_off_t pos,max_pos,filepos,start_recpos,filelength,dupp,buff_length;
300
300
  ha_rows max_records;
301
301
  ulonglong unique[MI_MAX_KEY_SEG+1];
302
302
  my_bool fix_datafile;
303
303
  char *record,*buff;
 
304
  void *wordlist, *wordptr;
304
305
  MI_KEYDEF *keyinfo;
305
306
  MI_KEYSEG *keyseg;
306
307
} SORT_INFO;
307
308
 
308
 
 
309
309
typedef struct st_mi_check_param
310
310
{
311
311
  ulonglong auto_increment_value;