summaryrefslogblamecommitdiff
path: root/databases/msql3/files/patch-ak
blob: ead616de559e47f688781d842579b08e70f6b85f (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                
                   


                                             


                                                                             


                                                                               
                   


                                                      



                                                                       

                                                                     
--- src/msql/index.c	Fri Feb  7 10:06:42 1997
+++ src/msql/index.c	Fri Feb  7 10:17:04 1997
@@ -105,8 +105,7 @@
                 fd;
 
         msqlTrace(TRACE_IN,"loadIndices()");
-        (void)snprintf(path,MAXPATHLEN,"%s/msqldb/%s/%s.idx",
-		msqlHomeDir,db,table);
+        (void)snprintf(path,MAXPATHLEN,"/var/db/msqldb/%s/%s.idx",db,table);
 #ifdef OS2
         fd = _sopen(path ,O_RDONLY | O_BINARY, SH_DENYNO, S_IREAD | S_IWRITE);
 #else
@@ -163,8 +163,8 @@
 				curIndex->next = NULL;
 			}
                 }
-		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);
 		curIndex->tree = avlOpen(path);
 		curIndex->buf = (char *)malloc(curIndex->length + 1);