We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bd1cb0 commit 52723ecCopy full SHA for 52723ec
sql/handler.cc
@@ -3749,11 +3749,11 @@ int handler::ha_index_init(uint idx, bool sorted)
3749
inited= INDEX;
3750
active_index= idx;
3751
end_range= NULL;
3752
+ /*
3753
+ Do not allow reads from UNIQUE HASH indexes.
3754
+ */
3755
+ DBUG_ASSERT(!(table->key_info[active_index].flags & HA_UNIQUE_HASH));
3756
}
- /*
- Do not allow reads from UNIQUE HASH indexes.
- */
- DBUG_ASSERT(!(table->key_info[active_index].flags & HA_UNIQUE_HASH));
3757
3758
DBUG_RETURN(result);
3759
0 commit comments