Mistake in GDS_DROP_DATABASE?
-----------------------------

                 Key: CORE-4700
                 URL: http://tracker.firebirdsql.org/browse/CORE-4700
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 2.5.4
            Reporter: Kovalenko Dmitry


jrd.cpp, GDS_DROP_DATABASE

for (; shadow; shadow = shadow->sdw_next)
{
 err = err || drop_files(shadow->sdw_file); //<---- mistake?
}

I think, this code should be written like this:

for (; shadow; shadow = shadow->sdw_next)
{
 if ( drop_files(shadow->sdw_file) )
  err=true;
}

?



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to