Commit 97fb42a0 authored by unknown's avatar unknown

Fix VC 2005 compile problem


sql/handler.cc:
  Cast to "byte*" on both sides of equal sign
  Fix spelling error
parent c3867a25
...@@ -3513,10 +3513,10 @@ int handler::ha_external_lock(THD *thd, int lock_type) ...@@ -3513,10 +3513,10 @@ int handler::ha_external_lock(THD *thd, int lock_type)
int handler::ha_reset() int handler::ha_reset()
{ {
DBUG_ENTER("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 + DBUG_ASSERT((byte*) table->def_read_set.bitmap +
table->s->column_bitmap_size == 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(bitmap_is_set_all(&table->s->all_set));
DBUG_ASSERT(table->key_read == 0); DBUG_ASSERT(table->key_read == 0);
/* ensure that ha_index_end / ha_rnd_end has been called */ /* ensure that ha_index_end / ha_rnd_end has been called */
......
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