3429 Marko Mäkelä 2011-06-06
Non-functional change: Unbreak the Hot Backup build.
page_rec_write_field(): Omit the definition if UNIV_HOTBACKUP is defined.
modified:
storage/innobase/include/page0page.h
storage/innobase/include/page0page.ic
3428 Georgi Kodinov 2011-06-06 [merge]
merged the warnings fix.
modified:
client/mysql.cc
client/mysql_upgrade.c
client/mysqladmin.cc
client/mysqlbinlog.cc
client/mysqlcheck.c
client/mysqldump.c
client/mysqlimport.c
client/mysqlshow.c
client/mysqlslap.c
client/mysqltest.cc
tests/mysql_client_test.c
=== modified file 'storage/innobase/include/page0page.h'
--- a/storage/innobase/include/page0page.h revid:georgi.kodinov@stripped102805-map11494gy7dcow3
+++ b/storage/innobase/include/page0page.h revid:marko.makela@stripped7s4whv32n8pqqu
@@ -618,6 +618,7 @@ rec_t*
page_rec_find_owner_rec(
/*====================*/
rec_t* rec); /*!< in: the physical record */
+#ifndef UNIV_HOTBACKUP
/***********************************************************************//**
Write a 32-bit field in a data dictionary record. */
UNIV_INLINE
@@ -626,9 +627,10 @@ page_rec_write_field(
/*=================*/
rec_t* rec, /*!< in/out: record to update */
ulint i, /*!< in: index of the field to update */
- ulint page_no,/*!< in: value to write */
+ ulint val, /*!< in: value to write */
mtr_t* mtr) /*!< in/out: mini-transaction */
__attribute__((nonnull));
+#endif /* !UNIV_HOTBACKUP */
/************************************************************//**
Returns the maximum combined size of records which can be inserted on top
of record heap.
=== modified file 'storage/innobase/include/page0page.ic'
--- a/storage/innobase/include/page0page.ic revid:georgi.kodinov@stripped05-map11494gy7dcow3
+++ b/storage/innobase/include/page0page.ic revid:marko.makela@strippedwhv32n8pqqu
@@ -959,6 +959,7 @@ page_get_free_space_of_empty(
- 2 * PAGE_DIR_SLOT_SIZE));
}
+#ifndef UNIV_HOTBACKUP
/***********************************************************************//**
Write a 32-bit field in a data dictionary record. */
UNIV_INLINE
@@ -979,6 +980,7 @@ page_rec_write_field(
mlog_write_ulint(data, val, MLOG_4BYTES, mtr);
}
+#endif /* !UNIV_HOTBACKUP */
/************************************************************//**
Each user record on a page, and also the deleted user records in the heap
Attachment: [text/bzr-bundle] bzr/marko.makela@oracle.com-20110606132401-hu7s4whv32n8pqqu.bundle
| Thread |
|---|
| • bzr push into mysql-5.5 branch (marko.makela:3428 to 3429) | marko.makela | 6 Jun |