diff options
author | monty@mysql.com <> | 2003-11-21 01:53:01 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2003-11-21 01:53:01 +0200 |
commit | 8aeb63dd3bc0a7c7ec1cda701f721591929c41e3 (patch) | |
tree | d2ee92d6c747460f67b4e5c5612f5771fbc5e4c0 /sql/ha_myisam.cc | |
parent | 32a62d506916c2f1ee34cb4494a10b66d1b4be2a (diff) | |
download | mariadb-git-8aeb63dd3bc0a7c7ec1cda701f721591929c41e3.tar.gz |
Update VC++ files
Portability fixes
After merge fixes
Diffstat (limited to 'sql/ha_myisam.cc')
-rw-r--r-- | sql/ha_myisam.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sql/ha_myisam.cc b/sql/ha_myisam.cc index 3cdd923d085..a10eeb3c934 100644 --- a/sql/ha_myisam.cc +++ b/sql/ha_myisam.cc @@ -720,13 +720,10 @@ int ha_myisam::assign_to_keycache(THD* thd, HA_CHECK_OPT *check_opt) if ((error= mi_assign_to_key_cache(file, map, new_key_cache))) { - switch (error) { - default: - char buf[80]; - my_snprintf(buf, sizeof(buf), - "Failed to flush to index file (errno: %d)", error); - errmsg= buf; - } + char buf[80]; + my_snprintf(buf, sizeof(buf), + "Failed to flush to index file (errno: %d)", error); + errmsg= buf; error= HA_ADMIN_CORRUPT; } |