Merge bk-internal:/home/bk/mysql-5.1

into  mysql.com:/data0/mysqldev/my/mysql-5.1-release
parents c24381bd 499bd3c7
...@@ -61,7 +61,7 @@ client_settings.h: ...@@ -61,7 +61,7 @@ client_settings.h:
libexec_PROGRAMS= mysqlmanager libexec_PROGRAMS= mysqlmanager
mysqlmanager_CXXFLAGS= -Wall -W mysqlmanager_CXXFLAGS=
mysqlmanager_SOURCES= command.cc command.h mysqlmanager.cc \ mysqlmanager_SOURCES= command.cc command.h mysqlmanager.cc \
manager.h manager.cc log.h log.cc \ manager.h manager.cc log.h log.cc \
......
...@@ -5558,8 +5558,8 @@ unpack_row(RELAY_LOG_INFO *rli, ...@@ -5558,8 +5558,8 @@ unpack_row(RELAY_LOG_INFO *rli,
if (bitmap_is_set(cols, field_ptr - begin_ptr)) if (bitmap_is_set(cols, field_ptr - begin_ptr))
{ {
DBUG_ASSERT(table->record[0] <= f->ptr); DBUG_ASSERT((const char *)table->record[0] <= f->ptr);
DBUG_ASSERT(f->ptr < (table->record[0] + table->s->reclength + DBUG_ASSERT(f->ptr < ((const char *)table->record[0] + table->s->reclength +
(f->pack_length_in_rec() == 0))); (f->pack_length_in_rec() == 0)));
DBUG_PRINT("info", ("unpacking column '%s' to 0x%lx", f->field_name, DBUG_PRINT("info", ("unpacking column '%s' to 0x%lx", f->field_name,
...@@ -6843,8 +6843,8 @@ static int find_and_fetch_row(TABLE *table, byte *key) ...@@ -6843,8 +6843,8 @@ static int find_and_fetch_row(TABLE *table, byte *key)
trigger false warnings. trigger false warnings.
*/ */
#ifndef HAVE_purify #ifndef HAVE_purify
DBUG_DUMP("table->record[0]", table->record[0], table->s->reclength); DBUG_DUMP("table->record[0]", (const char *)table->record[0], table->s->reclength);
DBUG_DUMP("table->record[1]", table->record[1], table->s->reclength); DBUG_DUMP("table->record[1]", (const char *)table->record[1], table->s->reclength);
#endif #endif
/* /*
...@@ -6870,8 +6870,8 @@ static int find_and_fetch_row(TABLE *table, byte *key) ...@@ -6870,8 +6870,8 @@ static int find_and_fetch_row(TABLE *table, byte *key)
trigger false warnings. trigger false warnings.
*/ */
#ifndef HAVE_purify #ifndef HAVE_purify
DBUG_DUMP("table->record[0]", table->record[0], table->s->reclength); DBUG_DUMP("table->record[0]", (const char *)table->record[0], table->s->reclength);
DBUG_DUMP("table->record[1]", table->record[1], table->s->reclength); DBUG_DUMP("table->record[1]", (const char *)table->record[1], table->s->reclength);
#endif #endif
/* /*
Below is a minor "optimization". If the key (i.e., key number Below is a minor "optimization". If the key (i.e., key number
......
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