[prev in list] [next in list] [prev in thread] [next in thread] 

List:       msql
Subject:    Re: [mSQL] Max size of char field
From:       SQL <sqladm () webhp ! utc ! fr>
Date:       1996-08-28 16:11:08
[Download RAW message or body]


On Tue, 27 Aug 1996, David H Dennis wrote:

> 
> One problem is that database corruption sometimes rears its ugly
> head, and I think the problem has not been fully solved.  I 
> recommend at least daily backups of your data, preferably
> automated through a cron job, and storage of any orders using
> a more stable system.
> 

the solution for prevent database corruption may be to sets your CGI
ignore termination signals until It perform the record insertion or
updating....

in perl it can be :

sub ignore_sgn {
    $SIG{'ABRT'} = 'IGNORE';
    $SIG{'HUP'}  = 'IGNORE';
    $SIG{'INT'}  = 'IGNORE';
    $SIG{'PIPE'} = 'IGNORE';
    $SIG{'QUIT'} = 'IGNORE';
    $SIG{'TERM'} = 'IGNORE';
}


--------------------------------------------------------------------------
To remove yourself from the Mini SQL mailing list send a message containing
"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!

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic