~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_static.cc

  • Committer: Monty Taylor
  • Date: 2009-10-06 19:37:52 UTC
  • mto: This revision was merged to the branch mainline in revision 1184.
  • Revision ID: mordred@inaugust.com-20091006193752-4dx2c8u35j4em79g
Removed more server_includes.h from headers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
#include "myisamdef.h"
22
22
 
23
 
LIST    *myisam_open_list=0;
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', };
 
23
std::list<MI_INFO *> myisam_open_list;
 
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', };
28
28
char * myisam_log_filename=(char*) "myisam.log";
29
29
File    myisam_log_file= -1;
30
30
uint    myisam_quick_table_bits=9;
31
31
uint32_t myisam_block_size= MI_KEY_BLOCK_LENGTH;                /* Best by test */
32
 
bool myisam_flush= false;
33
 
bool myisam_delay_key_write= false;
34
 
bool myisam_single_user= false;
35
32
uint32_t myisam_concurrent_insert= 2;
36
 
my_off_t myisam_max_temp_length= MAX_FILE_SIZE;
37
33
uint32_t myisam_bulk_insert_tree_size=8192*1024;
38
 
uint32_t myisam_data_pointer_size=4;
 
34
uint32_t data_pointer_size=4;
39
35
 
40
36
/*
41
37
  read_vec[] is used for converting between P_READ_KEY.. and SEARCH_
42
38
  Position is , == , >= , <= , > , <
43
39
*/
44
40
 
45
 
uint  myisam_read_vec[]=
 
41
uint32_t  myisam_read_vec[]=
46
42
{
47
43
  SEARCH_FIND, SEARCH_FIND | SEARCH_BIGGER, SEARCH_FIND | SEARCH_SMALLER,
48
44
  SEARCH_NO_FIND | SEARCH_BIGGER, SEARCH_NO_FIND | SEARCH_SMALLER,
50
46
  MBR_CONTAIN, MBR_INTERSECT, MBR_WITHIN, MBR_DISJOINT, MBR_EQUAL
51
47
};
52
48
 
53
 
uint  myisam_readnext_vec[]=
 
49
uint32_t  myisam_readnext_vec[]=
54
50
{
55
51
  SEARCH_BIGGER, SEARCH_BIGGER, SEARCH_SMALLER, SEARCH_BIGGER, SEARCH_SMALLER,
56
52
  SEARCH_BIGGER, SEARCH_SMALLER, SEARCH_SMALLER