Commit 38cfe6e8 authored by unknown's avatar unknown

Merge recycle.(none):/src/mysql-5.1-maint

into  recycle.(none):/src/mysql-5.1-maint_27691
parents 2eca1ce4 0432ad6c
...@@ -6260,7 +6260,7 @@ bool Rows_log_event::write_data_body(IO_CACHE*file) ...@@ -6260,7 +6260,7 @@ bool Rows_log_event::write_data_body(IO_CACHE*file)
reinterpret_cast<byte*>(m_cols_ai.bitmap), reinterpret_cast<byte*>(m_cols_ai.bitmap),
no_bytes_in_map(&m_cols_ai)); no_bytes_in_map(&m_cols_ai));
} }
DBUG_DUMP("rows", m_rows_buf, data_size); DBUG_DUMP("rows",(const char *) m_rows_buf, data_size);
res= res || my_b_safe_write(file, m_rows_buf, (uint) data_size); res= res || my_b_safe_write(file, m_rows_buf, (uint) data_size);
return res; return res;
...@@ -6979,7 +6979,7 @@ replace_record(THD *thd, TABLE *table, ...@@ -6979,7 +6979,7 @@ replace_record(THD *thd, TABLE *table,
auto_afree_ptr<char> key(NULL); auto_afree_ptr<char> key(NULL);
#ifndef DBUG_OFF #ifndef DBUG_OFF
DBUG_DUMP("record[0]", table->record[0], table->s->reclength); DBUG_DUMP("record[0]",(const char *) table->record[0], table->s->reclength);
DBUG_PRINT_BITSET("debug", "write_set = %s", table->write_set); DBUG_PRINT_BITSET("debug", "write_set = %s", table->write_set);
DBUG_PRINT_BITSET("debug", "read_set = %s", table->read_set); DBUG_PRINT_BITSET("debug", "read_set = %s", table->read_set);
#endif #endif
...@@ -7221,7 +7221,7 @@ static int find_and_fetch_row(TABLE *table, byte *key) ...@@ -7221,7 +7221,7 @@ static int find_and_fetch_row(TABLE *table, byte *key)
DBUG_ASSERT(table->in_use != NULL); DBUG_ASSERT(table->in_use != NULL);
DBUG_DUMP("record[0]", table->record[0], table->s->reclength); DBUG_DUMP("record[0]",(const char *) table->record[0], table->s->reclength);
if ((table->file->ha_table_flags() & HA_PRIMARY_KEY_REQUIRED_FOR_POSITION) && if ((table->file->ha_table_flags() & HA_PRIMARY_KEY_REQUIRED_FOR_POSITION) &&
table->s->primary_key < MAX_KEY) table->s->primary_key < MAX_KEY)
...@@ -7365,8 +7365,8 @@ static int find_and_fetch_row(TABLE *table, byte *key) ...@@ -7365,8 +7365,8 @@ static int find_and_fetch_row(TABLE *table, byte *key)
{ {
error= table->file->rnd_next(table->record[1]); error= table->file->rnd_next(table->record[1]);
DBUG_DUMP("record[0]", table->record[0], table->s->reclength); DBUG_DUMP("record[0]",(const char *) table->record[0], table->s->reclength);
DBUG_DUMP("record[1]", table->record[1], table->s->reclength); DBUG_DUMP("record[1]",(const char *) table->record[1], table->s->reclength);
switch (error) switch (error)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment