[sqlite] Re: Database Disk Full

2006-02-13 Thread Dave Dyer
At 04:47 AM 2/13/2006, John Stanton wrote: >Sigh... what is wrong with a message "disk full" when the disk space is >exhausted? Why is simple and to the point a problem? The "disk full" error is actually "write failed". Disk full may be the expected reason for a write to fail, but there are

RE: [sqlite] Re: Database Disk Full

2006-02-13 Thread Drew, Stephen
it down. Regards, Steve -Original Message- From: Michael Knigge [mailto:[EMAIL PROTECTED] Sent: 13 February 2006 13:34 To: sqlite-users@sqlite.org Subject: Re: [sqlite] Re: Database Disk Full > Sigh... what is wrong with a message "disk full" when the disk space > is

Re: [sqlite] Re: Database Disk Full

2006-02-13 Thread Michael Knigge
the moment, because it is misleading. Steve -Original Message- From: John Stanton [mailto:[EMAIL PROTECTED] Sent: 11 February 2006 09:58 To: sqlite-users@sqlite.org Subject: Re: [sqlite] Re: Database Disk Full The first message informs all users of the problem. The one you propose might

Re: [sqlite] Re: Database Disk Full

2006-02-13 Thread John Stanton
From: John Stanton [mailto:[EMAIL PROTECTED] Sent: 11 February 2006 09:58 To: sqlite-users@sqlite.org Subject: Re: [sqlite] Re: Database Disk Full The first message informs all users of the problem. The one you propose might satisfy a technonerd, but confuse the more casual user. There is howe

RE: [sqlite] Re: Database Disk Full

2006-02-13 Thread Drew, Stephen
or something? As I say, I'm just altering the standard error text at the moment, because it is misleading. Steve -Original Message- From: John Stanton [mailto:[EMAIL PROTECTED] Sent: 11 February 2006 09:58 To: sqlite-users@sqlite.org Subject: Re: [sqlite] Re: Database Disk Full The first

Re: [sqlite] Re: Database Disk Full

2006-02-11 Thread John Stanton
The first message informs all users of the problem. The one you propose might satisfy a technonerd, but confuse the more casual user. There is however a case for writing such a detailed message to syslog or similar system log. Dave Dyer wrote: It is a reasonable assumption to make that the

[sqlite] Re: Database Disk Full

2006-02-10 Thread Dave Dyer
>It is a reasonable assumption to make that the only thing which can have >changed since the last write is the disk becoming full. A disk cable falling >off, head crash or mechanical disk failure is not only unlikely but would >crash the entire machine and make error detection and recovery

[sqlite] re: Database Disk Full

2006-02-10 Thread Dave Dyer
At 09:00 AM 2/10/2006, [EMAIL PROTECTED] wrote: >"Drew, Stephen" <[EMAIL PROTECTED]> wrote: >> Hello, >> >> In sqlite3OsWrite function (in os_win.c) the following code exists: >> >> while( amt>0 && (rc = WriteFile(id->h, pBuf, amt, , 0))!=0 && >> wrote>0 ){ >> >> amt -= wrote; >> >>