Mailing List Archive



Back to the month index Back to the list index

Jeanne Gold (goldj@Ix.netcom.com)
Wed, 30 Apr 1997 11:29:31 -0700


Message-Id: <1.5.4.32.19970430182931.006b41b4@199.182.120.3>
Date: Wed, 30 Apr 1997 11:29:31 -0700
From: Jeanne Gold <goldj@Ix.netcom.com>
Subject: Re: [mSQL] 10 Days

At 03:34 PM 4/30/97 +0100, you wrote:
>At 12:32 AM 4/30/97 -0700, Dave Esmond wrote:
>>Can anyone help me figure out why my brand new, just compiled
>>version of 2.0 Beta 6 is only allowing me 10 days while all
>>the other versions allowed me several weeks?
>>
>
>I wondered much the same thing... I'm sure that these timeouts are for our
>own protection, but 10 days is short enough for me to consider abandoning
>mSQL. Don't get me wrong, I'm not ungrateful, but I'm using mSQL in the
>way I assume it is supposed to be used, as part of a real-life integrated
>solution. I can't spare the time to reinstall every 10 days, and v1.0 does
>not have the functionality I need...

The following was sent to me earlier today .. the countdown was to ensure
that people got the new beta release each time it came out. However, Hughes
is a little behind schedule. We shouldn't take such a difficult stance,
given all the freebies were currently getting.

Return-Path: <gcooper@cdfsga.fnal.gov>
Date: Wed, 30 Apr 1997 08:09:29 -0500
From: gcooper@cdfsga.fnal.gov (Glenn Cooper)
To: goldj@ix.netcom.com
Subject: Re: [mSQL] 10 Days
Reply-To: Glenn Cooper <gcooper@fnal.gov>

Hi Jeanne,

I think someone posted on just this question in the last week or
two--you might check the archives for a more complete answer.
For a simple fix, though, just edit src/msql/msqld.c. Lines
699-710 read:

        timeRemain = (858088800 + 60*24*60*60) - time(NULL);
        if (timeRemain < 0)
        {
                printf("\nThis Beta test release has expired!\n");
                printf("Check out www.Hughes.com.au for a new release!\n\n");
                exit(1);
        }
        else
        {
                printf("\n\tThis Beta test release expires in %d days.\n\n",
                        (int)(timeRemain / (24*60*60)));
        }

So, you could either set the limit date higher, e.g.,

        timeRemain = (858088800 + 120*24*60*60) - time(NULL);

or comment out the "exit(1);" on line 704. Then recompile, reinstall,
and that's it.

Hope this helps,
Glenn

--------------------------------------------------------------------------
To remove yourself from the Mini SQL mailing list send a message containing
"unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing
"info msql-list" to majordomo@bunyip.com for info on monthly archives of
the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!