1997-07-14 12:40:41 +00:00
|
|
|
--- src/msql/index.c Fri Feb 7 10:06:42 1997
|
|
|
|
+++ src/msql/index.c Fri Feb 7 10:17:04 1997
|
1998-02-13 10:54:49 +00:00
|
|
|
@@ -105,8 +105,7 @@
|
1997-07-14 12:35:19 +00:00
|
|
|
fd;
|
|
|
|
|
|
|
|
msqlTrace(TRACE_IN,"loadIndices()");
|
1998-02-13 10:54:49 +00:00
|
|
|
- (void)snprintf(path,MAXPATHLEN,"%s/msqldb/%s/%s.idx",
|
|
|
|
- msqlHomeDir,db,table);
|
|
|
|
+ (void)snprintf(path,MAXPATHLEN,"/var/db/msqldb/%s/%s.idx",db,table);
|
1997-07-14 12:35:19 +00:00
|
|
|
#ifdef OS2
|
|
|
|
fd = _sopen(path ,O_RDONLY | O_BINARY, SH_DENYNO, S_IREAD | S_IWRITE);
|
|
|
|
#else
|
1998-02-13 10:54:49 +00:00
|
|
|
@@ -163,8 +163,8 @@
|
1997-07-14 12:35:19 +00:00
|
|
|
curIndex->next = NULL;
|
|
|
|
}
|
|
|
|
}
|
1998-02-13 10:54:49 +00:00
|
|
|
- snprintf(path,MAXPATHLEN,"%s/msqldb/%s/%s.idx-%s",
|
|
|
|
- msqlHomeDir,db,table, curIndex->name);
|
|
|
|
+ snprintf(path,MAXPATHLEN,"/var/db/msqldb/%s/%s.idx-%s",
|
|
|
|
+ db,table, curIndex->name);
|
1997-07-14 12:35:19 +00:00
|
|
|
curIndex->tree = avlOpen(path);
|
|
|
|
curIndex->buf = (char *)malloc(curIndex->length + 1);
|