Below is the list of changes that have just been committed into a local
5.1 repository of cbell. When cbell 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-17 16:34:30-04:00, cbell@stripped +2 -0
WL#3776 : Consistent snapshot backup for MVCC
This patch alters the code to allow the use of any storage engine that
supports consistent snapshots.
sql/backup/be_snapshot.cc@stripped, 2007-05-17 16:34:25-04:00, cbell@stripped +1 -1
WL#3776 : Consistent snapshot backup for MVCC
This patch alters the code to allow the use of any storage engine that
supports consistent snapshots.
The code checks to see if the handler has the method
start_consistent_snapshot() implemented. If it does, the table is added
to the driver's list.
sql/backup/sql_backup.cc@stripped, 2007-05-17 16:34:26-04:00, cbell@stripped +1 -1
WL#3776 : Consistent snapshot backup for MVCC
This patch alters the code to allow the use of any storage engine that
supports consistent snapshots.
The code checks to see if the handler has the method
start_consistent_snapshot() implemented. If it does, the consistent
snapshot driver is added to the list of images.
# 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: cbell
# Host: suse.vabb.com
# Root: /home/Chuck/source/mysql-5.1_WL_3327
--- 1.1/sql/backup/be_snapshot.cc 2007-05-15 22:32:56 -04:00
+++ 1.2/sql/backup/be_snapshot.cc 2007-05-17 16:34:25 -04:00
@@ -815,7 +815,7 @@
{
// accept any table ...
DBUG_PRINT("backup",("adding table %s to snapshot image",tbl.name().ptr()));
- if (hton->db_type == DB_TYPE_INNODB) //add more types here!
+ if (hton->start_consistent_snapshot != NULL) //add more types here!
{
tables.add(tbl);
return TRUE;
--- 1.27/sql/backup/sql_backup.cc 2007-05-15 22:32:56 -04:00
+++ 1.28/sql/backup/sql_backup.cc 2007-05-17 16:34:26 -04:00
@@ -439,7 +439,7 @@
return TRUE;
}
- if (hton->db_type == DB_TYPE_INNODB)
+ if (hton->start_consistent_snapshot != NULL)
{
if (!snapshot_image)
{
| Thread |
|---|
| • bk commit into 5.1 tree (cbell:1.2530) | cbell | 17 May |