summaryrefslogtreecommitdiff
path: root/storage/myisam/ha_myisam.cc
diff options
context:
space:
mode:
authoristruewing@chilla.local <>2007-03-22 21:28:28 +0100
committeristruewing@chilla.local <>2007-03-22 21:28:28 +0100
commit52debcb82097b49d2316303c8196ed9459009411 (patch)
tree5fd7973b9c2f8178217123ebb4fc0d14a90fd077 /storage/myisam/ha_myisam.cc
parent1943b5da2c2a8967d5404b11162aab079f1dcc4f (diff)
downloadmariadb-git-52debcb82097b49d2316303c8196ed9459009411.tar.gz
After merge fix
Diffstat (limited to 'storage/myisam/ha_myisam.cc')
-rw-r--r--storage/myisam/ha_myisam.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/storage/myisam/ha_myisam.cc b/storage/myisam/ha_myisam.cc
index 6f4d12ec5f7..505febf8828 100644
--- a/storage/myisam/ha_myisam.cc
+++ b/storage/myisam/ha_myisam.cc
@@ -697,9 +697,11 @@ int ha_myisam::open(const char *name, int mode, uint test_if_locked)
(struct st_mysql_ftparser *)parser->plugin->info;
table->key_info[i].block_size= file->s->keyinfo[i].block_length;
}
- return (0);
-err:
+ my_errno= 0;
+ goto end;
+ err:
this->close();
+ end:
/*
Both recinfo and keydef are allocated by my_multi_malloc(), thus only
recinfo must be freed.