List:Commits« Previous MessageNext Message »
From:antony Date:December 20 2007 10:41pm
Subject:bk commit into 6.0 tree (antony:1.2768)
View as plain text  
Below is the list of changes that have just been committed into a local
6.0 repository of antony. When antony does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2007-12-20 13:41:38-08:00, antony@stripped +3 -0
  Fix Windows compile issue caused by WL4132
  Windows does not declare PATH_MAX, instead there is _MAX_PATH

  storage/falcon/Configuration.cpp@stripped, 2007-12-20 13:41:33-08:00,
antony@stripped +2 -0
    Windows does not declare PATH_MAX, instead there is _MAX_PATH

  storage/falcon/Database.cpp@stripped, 2007-12-20 13:41:33-08:00, antony@stripped
+4 -0
    Windows does not declare PATH_MAX, instead there is _MAX_PATH

  storage/falcon/IO.cpp@stripped, 2007-12-20 13:41:34-08:00, antony@stripped +1 -0
    Windows does not declare PATH_MAX, instead there is _MAX_PATH

diff -Nrup a/storage/falcon/Configuration.cpp b/storage/falcon/Configuration.cpp
--- a/storage/falcon/Configuration.cpp	2007-12-19 15:26:16 -08:00
+++ b/storage/falcon/Configuration.cpp	2007-12-20 13:41:33 -08:00
@@ -24,6 +24,8 @@
 
 #ifndef _WIN32
 #include <unistd.h>
+#else
+#define PATH_MAX			_MAX_PATH
 #endif
 
 #ifdef __FreeBSD__
diff -Nrup a/storage/falcon/Database.cpp b/storage/falcon/Database.cpp
--- a/storage/falcon/Database.cpp	2007-12-19 15:26:16 -08:00
+++ b/storage/falcon/Database.cpp	2007-12-20 13:41:33 -08:00
@@ -78,6 +78,10 @@
 #include "PriorityScheduler.h"
 #include "Sequence.h"
 
+#ifdef _WIN32
+#define PATH_MAX			_MAX_PATH
+#endif
+
 #ifndef STORAGE_ENGINE
 #include "Applications.h"
 #include "Application.h"
diff -Nrup a/storage/falcon/IO.cpp b/storage/falcon/IO.cpp
--- a/storage/falcon/IO.cpp	2007-12-19 15:26:16 -08:00
+++ b/storage/falcon/IO.cpp	2007-12-20 13:41:34 -08:00
@@ -34,6 +34,7 @@
 #define SEEK_OFFSET	int64
 #define MKDIR(dir)			mkdir(dir)
 #define O_SYNC				0
+#define PATH_MAX			_MAX_PATH
 #else
 #include <sys/types.h>
 #include <unistd.h>
Thread
bk commit into 6.0 tree (antony:1.2768)antony20 Dec