List:Commits« Previous MessageNext Message »
From:Olav Sandstaa Date:October 2 2008 11:01am
Subject:bzr commit into mysql-6.0-falcon-team branch (olav:2845) Bug#39575
View as plain text  
#At file:///home/os136802/mysql/develop/repo/falcon-sparc/

 2845 Olav Sandstaa	2008-10-02
      Fix for Bug#39575 Falcon crashes during loading of large dataset
      
      Changed datatype for the offset within the serial log file from 32 bit to 64 bit
      in order to handle that the serial log file can grow beyond 4 GB.
modified:
  storage/falcon/SerialLogWindow.cpp

=== modified file 'storage/falcon/SerialLogWindow.cpp'

=== modified file 'storage/falcon/SerialLogWindow.cpp'
--- a/storage/falcon/SerialLogWindow.cpp	2008-03-11 16:15:47 +0000
+++ b/storage/falcon/SerialLogWindow.cpp	2008-10-02 09:01:39 +0000
@@ -117,7 +117,7 @@
 void SerialLogWindow::write(SerialLogBlock *block)
 {
 	uint32 length = ROUNDUP(block->length, sectorSize);
-	uint32 offset = (int) (origin + ((UCHAR*) block - buffer));
+	int64 offset = origin + ((UCHAR*) block - buffer);
 	ASSERT(length <= bufferLength);
 	
 	try

Thread
bzr commit into mysql-6.0-falcon-team branch (olav:2845) Bug#39575Olav Sandstaa2 Oct
  • RE: bzr commit into mysql-6.0-falcon-team branch (olav:2845) Bug#39575Vladislav Vaintroub2 Oct