summaryrefslogtreecommitdiff
path: root/sql/rpl_utility.cc
diff options
context:
space:
mode:
authormats@romeo.(none) <>2007-03-22 09:05:11 +0100
committermats@romeo.(none) <>2007-03-22 09:05:11 +0100
commit68ebc7e49577a5e447cc1a1f66566282d7c5c7da (patch)
tree95f7524f2b6c4cbacd479d5c251d41b542a2b26f /sql/rpl_utility.cc
parent11d37efa5e117c5f64870a00ec56b438b7e4dca9 (diff)
parent2ee007ba9d0eb8517a43d767bf2ec4b7fcdad5ad (diff)
downloadmariadb-git-68ebc7e49577a5e447cc1a1f66566282d7c5c7da.tar.gz
Merge romeo.(none):/home/bkroot/mysql-5.1-new-rpl
into romeo.(none):/home/bk/b23171-mysql-5.1-new-rpl
Diffstat (limited to 'sql/rpl_utility.cc')
-rw-r--r--sql/rpl_utility.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/rpl_utility.cc b/sql/rpl_utility.cc
index 65a44a4947b..1d7cc808f0c 100644
--- a/sql/rpl_utility.cc
+++ b/sql/rpl_utility.cc
@@ -108,7 +108,7 @@ field_length_from_packed(enum_field_types const field_type,
*/
int
-table_def::compatible_with(RELAY_LOG_INFO *rli, TABLE *table)
+table_def::compatible_with(RELAY_LOG_INFO const *rli_arg, TABLE *table)
const
{
/*
@@ -116,6 +116,7 @@ table_def::compatible_with(RELAY_LOG_INFO *rli, TABLE *table)
*/
uint const cols_to_check= min(table->s->fields, size());
int error= 0;
+ RELAY_LOG_INFO const *rli= const_cast<RELAY_LOG_INFO*>(rli_arg);
TABLE_SHARE const *const tsh= table->s;