summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2002-08-31 20:42:41 +0000
committerunknown <serg@serg.mysql.com>2002-08-31 20:42:41 +0000
commit3f363c7d4d04e9fda8fdf7b0ac99c369045e687c (patch)
treea02394af922b23a01c59b08ddac8cd6c519d08c3 /myisam
parent85da4cfd71303d1022b334d243017fc5e8dd091b (diff)
downloadmariadb-git-3f363c7d4d04e9fda8fdf7b0ac99c369045e687c.tar.gz
LOCK+change+OPTIMIZE MyISAM bug
myisam/mi_delete_all.c: reverting the wrong bugfix mysql-test/r/delete.result: moving the test case to where it belongs mysql-test/t/delete.test: moving the test case to where it belongs
Diffstat (limited to 'myisam')
-rw-r--r--myisam/mi_delete_all.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/mi_delete_all.c b/myisam/mi_delete_all.c
index 0605c10e4fa..58f885b63f0 100644
--- a/myisam/mi_delete_all.c
+++ b/myisam/mi_delete_all.c
@@ -35,11 +35,11 @@ int mi_delete_all_rows(MI_INFO *info)
if (_mi_mark_file_changed(info))
goto err;
- state->state.records=info->state->records=info->state->del=state->split=0;
+ info->state->records=info->state->del=state->split=0;
state->dellink = HA_OFFSET_ERROR;
state->sortkey= (ushort) ~0;
info->state->key_file_length=share->base.keystart;
- state->state.data_file_length=info->state->data_file_length=0;
+ info->state->data_file_length=0;
info->state->empty=info->state->key_empty=0;
state->checksum=0;