List:Commits« Previous MessageNext Message »
From:rsomla Date:May 2 2007 3:02pm
Subject:bk commit into 5.1 tree (rafal:1.2526)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of rafal. When rafal 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-05-02 17:02:43+02:00, rafal@quant.(none) +1 -0
  WL#3327: Remove Backup_pump::m_buf_size member as the buffer size used is 
  stored inside a Block_writer.

  sql/backup/data_backup.cc@stripped, 2007-05-02 17:02:40+02:00, rafal@quant.(none) +3 -2
    Remove Backup_pump::m_buf_size member as the buffer size used is 
    stored inside a Block_writer.

# 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:	rafal
# Host:	quant.(none)
# Root:	/ext/mysql/bk/backup/prototype-push

--- 1.15/sql/backup/data_backup.cc	2007-05-02 17:02:49 +02:00
+++ 1.16/sql/backup/data_backup.cc	2007-05-02 17:02:49 +02:00
@@ -61,6 +61,8 @@
 //  uint     m_no;
   OStream  &m_str;
   size_t   buf_size;
+
+  friend struct Backup_pump;
 };
 
 
@@ -95,7 +97,7 @@
   {
     state= backup_state::INIT;
     DBUG_PRINT("backup/data",(" %s enters INIT state",m_name));
-    return m_drv.begin(m_buf_size) == backup::OK;
+    return m_drv.begin(m_bw.buf_size) == backup::OK;
   }
 
   bool end()
@@ -129,7 +131,6 @@
 
  private:
 
-  static const uint m_buf_size= 2048;
   static const uint get_buf_retries= 3; /**< if block writer has no buffers, retry
                                               this many times before giving up */
   uint          m_drv_no;
Thread
bk commit into 5.1 tree (rafal:1.2526)rsomla2 May