Mailing List Archive



Back to the month index Back to the list index

Willem van den Bosch (willem@ozartnet.com.au)
Thu, 01 May 1997 04:31:31 +1000


Message-ID: <33679003.3680162A@ozartnet.com.au>
Date: Thu, 01 May 1997 04:31:31 +1000
From: Willem van den Bosch <willem@ozartnet.com.au>
Subject: Re: [mSQL] 10 Days

David Mantripp 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 think the following code from msqld.c will provide the answer and
solution.

        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)));
        }

-- 
+--Willem van den Bosch ---------------------------------------+
|  OzArtNet                                                    |
|  Australian Art On-Line       http://www.ozartnet.com.au     |
+--Phone: +61 7 5533 5260 ----- Fax: +61 7 5533 5371 ----------+
--------------------------------------------------------------------------
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!