~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_static.c

  • Committer: Monty Taylor
  • Date: 2008-09-15 17:24:04 UTC
  • Revision ID: monty@inaugust.com-20080915172404-ygh6hiyu0q7qpa9x
Removed strndup calls.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include "myisamdef.h"
22
22
 
23
23
LIST    *myisam_open_list=0;
24
 
unsigned char    myisam_file_magic[]=
25
 
{ (unsigned char) 254, (unsigned char) 254,'\007', '\001', };
26
 
unsigned char    myisam_pack_file_magic[]=
27
 
{ (unsigned char) 254, (unsigned char) 254,'\010', '\002', };
 
24
uchar    myisam_file_magic[]=
 
25
{ (uchar) 254, (uchar) 254,'\007', '\001', };
 
26
uchar    myisam_pack_file_magic[]=
 
27
{ (uchar) 254, (uchar) 254,'\010', '\002', };
28
28
char * myisam_log_filename=(char*) "myisam.log";
29
29
File    myisam_log_file= -1;
30
30
uint    myisam_quick_table_bits=9;
42
42
  Position is , == , >= , <= , > , <
43
43
*/
44
44
 
45
 
uint32_t  myisam_read_vec[]=
 
45
uint  myisam_read_vec[]=
46
46
{
47
47
  SEARCH_FIND, SEARCH_FIND | SEARCH_BIGGER, SEARCH_FIND | SEARCH_SMALLER,
48
48
  SEARCH_NO_FIND | SEARCH_BIGGER, SEARCH_NO_FIND | SEARCH_SMALLER,
50
50
  MBR_CONTAIN, MBR_INTERSECT, MBR_WITHIN, MBR_DISJOINT, MBR_EQUAL
51
51
};
52
52
 
53
 
uint32_t  myisam_readnext_vec[]=
 
53
uint  myisam_readnext_vec[]=
54
54
{
55
55
  SEARCH_BIGGER, SEARCH_BIGGER, SEARCH_SMALLER, SEARCH_BIGGER, SEARCH_SMALLER,
56
56
  SEARCH_BIGGER, SEARCH_SMALLER, SEARCH_SMALLER