Update of /cvsroot/monetdb/MonetDB/src/gdk
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30574

Modified Files:
      Tag: MonetDB_1-22
        gdk_bbp.mx 
Log Message:
Close the SUBCOMMIT directory.  Without this it is *impossible* to
recover the database on Windows.  You will always get this when you
try:

!ERROR: GDKremovedir: rmdir(bat\BACKUP\SUBCOMMIT) failed.
!OS: The process cannot access the file because it is being used by another 
process.
!ERROR: BBPrecover_subdir: recovery failed. Please check whether your disk is 
full or write-protected.
!FATAL: BBPinit: cannot properly process bat\BACKUP\SUBCOMMIT.


Index: gdk_bbp.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_bbp.mx,v
retrieving revision 1.208.2.7
retrieving revision 1.208.2.8
diff -u -d -r1.208.2.7 -r1.208.2.8
--- gdk_bbp.mx  4 Mar 2008 10:23:54 -0000       1.208.2.7
+++ gdk_bbp.mx  13 Mar 2008 16:14:20 -0000      1.208.2.8
@@ -3156,6 +3156,8 @@
                if (ret < 0)
                        break;
        }
+       closedir(dirp);
+
        /* delete the directory */
        if (ret == 0) {
                ret = GDKremovedir(SUBDIR);


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to