1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/databases/msql3/files/patch-ai
James FitzGibbon 1a84e7d783 Merge from msql-beta port as of 07/11/97
Upgrade to v2.0 release
PR:             ports/4072
1997-07-14 12:47:08 +00:00

21 lines
622 B
Plaintext

--- 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)
{
- sprintf(confFile,"%s/msql.conf", INST_DIR);
+ sprintf(confFile,"%s/etc/msql2/msql.conf", INST_DIR);
}
printf("\tLoading configuration from '%s'.\n",confFile);
msqlLoadConfigFile(confFile);
@@ -687,7 +687,7 @@
/*
** Ensure that the correct user owns the database files
*/
- sprintf(path,"%s/msqldb",(char *)msqlGetCharConf("general","inst_dir"));
+ sprintf(path,"/var/db/msqldb");
if (stat(path,&sbuf) < 0)
{
printf("\nError! Can't stat '%s'\n\n",path);