Bug #31171: test alter_table, fulltext2, ps, sp fail,
"Table is already up to date" vs. "OK" On MacOSX 10.5 when you cast something to "bool" (the built in C type) it takes values 0 or 1 instead of 0-255 as it seems to be on older compilers. Fixed by removing the typecast (not needed). No test case needed : there are tests that test it. storage/myisam/mi_open.c: Bug #31171: don't typecast when not needed
This commit is contained in:
parent
70e228763b
commit
0b489d3fd3
@ -916,7 +916,7 @@ uchar *mi_state_info_read(uchar *ptr, MI_STATE_INFO *state)
|
||||
key_blocks=state->header.max_block_size_index;
|
||||
|
||||
state->open_count = mi_uint2korr(ptr); ptr +=2;
|
||||
state->changed= (bool) *ptr++;
|
||||
state->changed= *ptr++;
|
||||
state->sortkey = (uint) *ptr++;
|
||||
state->state.records= mi_rowkorr(ptr); ptr +=8;
|
||||
state->state.del = mi_rowkorr(ptr); ptr +=8;
|
||||
|
Loading…
x
Reference in New Issue
Block a user