Re: [Firebird-devel] Doubt in jrd.cpp's dropDatabase

2014-03-24 Thread Alex Peshkoff
On 03/23/14 13:33, Claudio Valderrama C. wrote: > Hello, in jrd.cpp, > JAttachment::dropDatabase(...) > we have > for (; shadow; shadow = shadow->sdw_next) > { > err = err || drop_files(shadow->sdw_file); > } > > Do we really want to drop files only until we get an error? I've changed the > l

[Firebird-devel] Doubt in jrd.cpp's dropDatabase

2014-03-23 Thread Claudio Valderrama C.
Hello, in jrd.cpp, JAttachment::dropDatabase(...) we have for (; shadow; shadow = shadow->sdw_next) { err = err || drop_files(shadow->sdw_file); } Do we really want to drop files only until we get an error? I've changed the line in my tree to err = drop_files(shadow->sdw_file) || e