diff options
author | serg@serg.mylan <> | 2004-08-23 14:07:59 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2004-08-23 14:07:59 +0200 |
commit | 0df870ef1ef9cddedc698bd31d6380b1ae2f6bb4 (patch) | |
tree | ec0d9077c3bf935b4fd2eac0eeb23a15d99fcc57 /myisammrg | |
parent | 157a041baa7b08a718ee6f0decdc894a528b19b0 (diff) | |
parent | a835e9bc9c231dab0a5bf59fe5a7f68568e6e58f (diff) | |
download | mariadb-git-0df870ef1ef9cddedc698bd31d6380b1ae2f6bb4.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) |