12
12
You should have received a copy of the GNU General Public License
13
13
along with this program; if not, write to the Free Software
14
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
14
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
17
17
Static variables for MyISAM library. All definied here for easy making of
21
#include "myisamdef.h"
21
#include "myisam_priv.h"
23
LIST *myisam_open_list=0;
23
std::list<MI_INFO *> myisam_open_list;
24
24
unsigned char myisam_file_magic[]=
25
25
{ (unsigned char) 254, (unsigned char) 254,'\007', '\001', };
26
26
unsigned char myisam_pack_file_magic[]=
27
27
{ (unsigned char) 254, (unsigned char) 254,'\010', '\002', };
28
28
char * myisam_log_filename=(char*) "myisam.log";
29
File myisam_log_file= -1;
29
int 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= 6;
41
37
read_vec[] is used for converting between P_READ_KEY.. and SEARCH_