Commit 97fb42a0 authored by unknown's avatar unknown
Browse files

Fix VC 2005 compile problem


sql/handler.cc:
  Cast to "byte*" on both sides of equal sign
  Fix spelling error
parent c3867a25
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3513,10 +3513,10 @@ int handler::ha_external_lock(THD *thd, int lock_type)
int handler::ha_reset()
{
  DBUG_ENTER("ha_reset");
  /* Check that we have called all proper delallocation functions */
  /* Check that we have called all proper deallocation functions */
  DBUG_ASSERT((byte*) table->def_read_set.bitmap +
              table->s->column_bitmap_size ==
              (char*) table->def_write_set.bitmap);
              (byte*) table->def_write_set.bitmap);
  DBUG_ASSERT(bitmap_is_set_all(&table->s->all_set));
  DBUG_ASSERT(table->key_read == 0);
  /* ensure that ha_index_end / ha_rnd_end has been called */