summaryrefslogtreecommitdiff
path: root/myisammrg
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2002-12-12 21:01:32 +0200
committerunknown <monty@mashka.mysql.fi>2002-12-12 21:01:32 +0200
commite6783a8785925f0e7433cd96d8f7f8b5c6d0c9a0 (patch)
tree60ab7f5c2863b09ca19f3f9cda800c3ac4eb3bdd /myisammrg
parent25c8f58ac7710db353a1078f22988cdaa5633817 (diff)
downloadmariadb-git-e6783a8785925f0e7433cd96d8f7f8b5c6d0c9a0.tar.gz
Removed compiler warnings
Fixed wrong variable name for Windows VC++Files/innobase/innobase.dsp: Don't use precompiled headers (doesn't work with samba) VC++Files/myisammrg/myisammrg.dsp: Add missing files VC++Files/mysqlbinlog/mysqlbinlog.dsp: Fixed included paths VC++Files/mysqldemb/mysqldemb.dsp: Don't use precompiled headers (doesn't work with samba) VC++Files/mysqlserver/mysqlserver.dsp: Don't use precompiled headers (doesn't work with samba) VC++Files/sql/mysqld.dsp: Fixed paths innobase/include/univ.i: Removed compiler warning myisammrg/myrg_open.c: Removed compiler warning sql/ha_myisam.cc: Removed compiler warning Fixed wrong (but not dangerous) if statement sql/ha_myisammrg.cc: Removed compiler warning sql/mysqld.cc: Fixed wrong variable name for Windows sql/sql_update.cc: Removed not used label
Diffstat (limited to 'myisammrg')
-rw-r--r--myisammrg/myrg_open.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/myisammrg/myrg_open.c b/myisammrg/myrg_open.c
index 6a3c8dd86d9..f996277d287 100644
--- a/myisammrg/myrg_open.c
+++ b/myisammrg/myrg_open.c
@@ -32,7 +32,7 @@
MYRG_INFO *myrg_open(const char *name, int mode, int handle_locking)
{
- int save_errno,i,j,errpos;
+ int save_errno,i,errpos;
uint files,dir_length,length,options, key_parts;
ulonglong file_offset;
char name_buff[FN_REFLEN*2],buff[FN_REFLEN],*end;
@@ -113,6 +113,7 @@ MYRG_INFO *myrg_open(const char *name, int mode, int handle_locking)
options= (uint) ~0;
for (i=files ; i-- > 0 ; )
{
+ uint j;
m_info->open_tables[i].table=isam;
m_info->options|=isam->s->options;
options&=isam->s->options;