summaryrefslogtreecommitdiff
path: root/databases/msql3/files/patch-ai
blob: dcf168a1f723f9b406e7b2e5042889c736aa64a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- src/msql/msqld.c.orig	Mon Jul  7 01:27:28 1997
+++ src/msql/msqld.c	Thu Jul 10 13:48:05 1997
@@ -593,7 +593,7 @@
 
 	if (*confFile == 0)
 	{
-		snprintf(confFile,sizeof(confFile),"%s/msql.conf", INST_DIR);
+		snprintf(confFile,sizeof(confFile),"%s/etc/msql2/msql.conf", INST_DIR);
 	}
 	printf("\tLoading configuration from '%s'.\n",confFile);
 	msqlLoadConfigFile(confFile);
@@ -687,8 +687,7 @@
 	/*
 	** Ensure that the correct user owns the database files
 	*/
-	snprintf(path,MAXPATHLEN, "%s/msqldb",
-		(char *)msqlGetCharConf("general","inst_dir"));
+	strcpy(path, "/var/db/msqldb");
 	if (stat(path,&sbuf) < 0)
 	{
 		printf("\nError!  Can't stat '%s'\n\n",path);