Hi Pavel,
I can't answer this question. Maybe it's something like all operations
are successful but memory mapping is not actually shared between
processes. So every process sees its own copy and assumes that no
other process works with database, thus database can be corrupted in
many possible w
What I've seen is that windows makes a local copy of the memory mapped
file. Perhaps in swap. If you watch your application using "ProcMon"
you can see all the disk IO. That's how I noticed the copy.
For my usage, only one process opens the DB so, maybe it's a
non-issue.
C
Tuesday,
On Mon, Nov 7, 2011 at 5:48 PM, Jean-Christophe Deschamps
wrote:
> Pavel,
>
>> This is not a local file. Even if you use your hostname as netname
>> file is still retrieved through network stack. And I guess SAMBA
>> doesn't work well with memory mapped files (in addition to all
>> problems with l
Pavel,
This is not a local file. Even if you use your hostname as netname
file is still retrieved through network stack. And I guess SAMBA
doesn't work well with memory mapped files (in addition to all
problems with locking).
True but why did I get no error? Since MMF don't cope with network
>> Does your path begin with 'file:' ?
>
> No, simply
> \\netname\share\path\test.db
This is not a local file. Even if you use your hostname as netname
file is still retrieved through network stack. And I guess SAMBA
doesn't work well with memory mapped files (in addition to all
problems with lock
Does your path begin with 'file:' ?
No, simply
\\netname\share\path\test.db
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
On 7 Nov 2011, at 2:02am, Jean-Christophe Deschamps wrote:
> If a DB in WAL mode is opened using a UNC path refering to a _local_ drive,
> weird things happen until the DB gets corrupted but AFAIK no error code is
> thrown.
Does your path begin with 'file:' ?
Simon.
__
Dear List,
If a DB in WAL mode is opened using a UNC path refering to a _local_
drive, weird things happen until the DB gets corrupted but AFAIK no
error code is thrown.
Windows doesn't seem to open the memory mapped file if it has a UNC path.
Can someone confirm?
I don't know if this quali
8 matches
Mail list logo