MySQL Lists are EOL. Please join:

List:Internals« Previous MessageNext Message »
From:msvensson Date:August 29 2005 12:04pm
Subject:bk commit into 4.1 tree (msvensson:1.2378) BUG#12527
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of msvensson. When msvensson 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
  1.2378 05/08/29 14:04:15 msvensson@neptunus.(none) +1 -0
  Bug #12527  	yassl causes errors in "repair" and "optimize"
   - Use constant directly to check that enough number of bytes have been written as header of the archive.

  sql/examples/ha_archive.cc
    1.26 05/08/29 14:04:09 msvensson@neptunus.(none) +1 -1
    Don't take "sizeof" the constant DATA_BUFFER_SIZE. Simply use DATA_BUFFER_SIZE as is.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	msvensson
# Host:	neptunus.(none)
# Root:	/home/msvensson/mysql/bug12527/my41-bug12527

--- 1.25/sql/examples/ha_archive.cc	2005-06-05 19:38:38 +02:00
+++ 1.26/sql/examples/ha_archive.cc	2005-08-29 14:04:09 +02:00
@@ -225,7 +225,7 @@
   data_buffer[1]= (uchar)ARCHIVE_VERSION;
 
   if (gzwrite(file_to_write, &data_buffer, DATA_BUFFER_SIZE) != 
-      sizeof(DATA_BUFFER_SIZE))
+      DATA_BUFFER_SIZE)
     goto error;
   DBUG_PRINT("ha_archive::write_data_header", ("Check %u", (uint)data_buffer[0]));
   DBUG_PRINT("ha_archive::write_data_header", ("Version %u", (uint)data_buffer[1]));
Thread
bk commit into 4.1 tree (msvensson:1.2378) BUG#12527msvensson29 Aug