mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
log_event.cc:
On Windows, byte != char sql/log_event.cc: On Windows, byte != char
This commit is contained in:
@@ -5558,8 +5558,8 @@ unpack_row(RELAY_LOG_INFO *rli,
|
||||
|
||||
if (bitmap_is_set(cols, field_ptr - begin_ptr))
|
||||
{
|
||||
DBUG_ASSERT(table->record[0] <= f->ptr);
|
||||
DBUG_ASSERT(f->ptr < (table->record[0] + table->s->reclength +
|
||||
DBUG_ASSERT((const char *)table->record[0] <= f->ptr);
|
||||
DBUG_ASSERT(f->ptr < ((const char *)table->record[0] + table->s->reclength +
|
||||
(f->pack_length_in_rec() == 0)));
|
||||
|
||||
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)
|
||||
trigger false warnings.
|
||||
*/
|
||||
#ifndef HAVE_purify
|
||||
DBUG_DUMP("table->record[0]", table->record[0], table->s->reclength);
|
||||
DBUG_DUMP("table->record[1]", table->record[1], table->s->reclength);
|
||||
DBUG_DUMP("table->record[0]", (const char *)table->record[0], table->s->reclength);
|
||||
DBUG_DUMP("table->record[1]", (const char *)table->record[1], table->s->reclength);
|
||||
#endif
|
||||
|
||||
/*
|
||||
@@ -6870,8 +6870,8 @@ static int find_and_fetch_row(TABLE *table, byte *key)
|
||||
trigger false warnings.
|
||||
*/
|
||||
#ifndef HAVE_purify
|
||||
DBUG_DUMP("table->record[0]", table->record[0], table->s->reclength);
|
||||
DBUG_DUMP("table->record[1]", table->record[1], table->s->reclength);
|
||||
DBUG_DUMP("table->record[0]", (const char *)table->record[0], table->s->reclength);
|
||||
DBUG_DUMP("table->record[1]", (const char *)table->record[1], table->s->reclength);
|
||||
#endif
|
||||
/*
|
||||
Below is a minor "optimization". If the key (i.e., key number
|
||||
|
Reference in New Issue
Block a user