diff options
author | unknown <serg@serg.mylan> | 2004-08-23 14:07:59 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-08-23 14:07:59 +0200 |
commit | fdc831da218e78a16f2a0f66d64c45cf7fc6daa5 (patch) | |
tree | ec0d9077c3bf935b4fd2eac0eeb23a15d99fcc57 /myisammrg | |
parent | d40349fbf9cb41ccb84aa83a1e7854e8c98d61e4 (diff) | |
parent | 38b8c98543e68b3185a491b3cb9fb9d48662ef14 (diff) | |
download | mariadb-git-fdc831da218e78a16f2a0f66d64c45cf7fc6daa5.tar.gz |
Merge serg.mylan:/usr/home/serg/Abk/mysql-4.0
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
Diffstat (limited to 'myisammrg')
-rw-r--r-- | myisammrg/myrg_open.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/myisammrg/myrg_open.c b/myisammrg/myrg_open.c index 2d6b6dcf167..4c6ffb98ad5 100644 --- a/myisammrg/myrg_open.c +++ b/myisammrg/myrg_open.c @@ -32,20 +32,16 @@ MYRG_INFO *myrg_open(const char *name, int mode, int handle_locking) { - int save_errno,errpos; - uint files,i,dir_length,length,key_parts; + int save_errno,errpos=0; + uint files=0,i,dir_length,length,key_parts; ulonglong file_offset; char name_buff[FN_REFLEN*2],buff[FN_REFLEN],*end; - MYRG_INFO *m_info; + MYRG_INFO *m_info=0; File fd; IO_CACHE file; - MI_INFO *isam; + MI_INFO *isam=0; DBUG_ENTER("myrg_open"); - LINT_INIT(m_info); - m_info=0; - isam=0; - errpos=files=0; bzero((char*) &file,sizeof(file)); if ((fd=my_open(fn_format(name_buff,name,"",MYRG_NAME_EXT,4), O_RDONLY | O_SHARE,MYF(0))) < 0) |