diff options
author | unknown <serg@serg.mylan> | 2005-09-27 20:11:09 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2005-09-27 20:11:09 +0200 |
commit | 94496220cdeca8caf8458485dd3604461ff04876 (patch) | |
tree | 19c8405f528a0921b91d263dfad9866a2be0b38f /myisam/mi_open.c | |
parent | 4252b11a2d7a95bcacbcf905df3ed0a7641b80c3 (diff) | |
download | mariadb-git-94496220cdeca8caf8458485dd3604461ff04876.tar.gz |
CHECKSUM TABLE now allows concurrent inserts
myisam/mi_check.c:
info->s->state.checksum moved to info->state->checksum
myisam/mi_delete.c:
info->s->state.checksum moved to info->state->checksum
myisam/mi_delete_all.c:
info->s->state.checksum moved to info->state->checksum
myisam/mi_open.c:
info->s->state.checksum moved to info->state->checksum
myisam/mi_update.c:
info->s->state.checksum moved to info->state->checksum
myisam/mi_write.c:
info->s->state.checksum moved to info->state->checksum
myisam/myisamchk.c:
info->s->state.checksum moved to info->state->checksum
myisam/myisamdef.h:
info->s->state.checksum moved to info->state->checksum
myisam/myisampack.c:
info->s->state.checksum moved to info->state->checksum
mysql-test/r/system_mysql_db.result:
result fixed
sql/ha_myisam.cc:
info->s->state.checksum moved to info->state->checksum
Diffstat (limited to 'myisam/mi_open.c')
-rw-r--r-- | myisam/mi_open.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/mi_open.c b/myisam/mi_open.c index 82663e0c318..1d99772eba6 100644 --- a/myisam/mi_open.c +++ b/myisam/mi_open.c @@ -822,7 +822,7 @@ uint mi_state_info_write(File file, MI_STATE_INFO *state, uint pWrite) mi_sizestore(ptr,state->state.empty); ptr +=8; mi_sizestore(ptr,state->state.key_empty); ptr +=8; mi_int8store(ptr,state->auto_increment); ptr +=8; - mi_int8store(ptr,(ulonglong) state->checksum);ptr +=8; + mi_int8store(ptr,(ulonglong) state->state.checksum);ptr +=8; mi_int4store(ptr,state->process); ptr +=4; mi_int4store(ptr,state->unique); ptr +=4; mi_int4store(ptr,state->status); ptr +=4; @@ -884,7 +884,7 @@ char *mi_state_info_read(uchar *ptr, MI_STATE_INFO *state) state->state.empty = mi_sizekorr(ptr); ptr +=8; state->state.key_empty= mi_sizekorr(ptr); ptr +=8; state->auto_increment=mi_uint8korr(ptr); ptr +=8; - state->checksum=(ha_checksum) mi_uint8korr(ptr); ptr +=8; + state->state.checksum=(ha_checksum) mi_uint8korr(ptr); ptr +=8; state->process= mi_uint4korr(ptr); ptr +=4; state->unique = mi_uint4korr(ptr); ptr +=4; state->status = mi_uint4korr(ptr); ptr +=4; |