summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2001-01-23 01:25:07 +0200
committerunknown <monty@donna.mysql.com>2001-01-23 01:25:07 +0200
commit6370f97b2c9d2fe26be653d1031b918cf097d08e (patch)
tree8bbe5c1f42df3580477789560dc9f52df1d4a2fc /sql/sql_table.cc
parent3e54e5393293426a9bfb7e6036f7e12bdb71d3b5 (diff)
downloadmariadb-git-6370f97b2c9d2fe26be653d1031b918cf097d08e.tar.gz
Added new mutex for hostname lookup
Added free of io_cache when using ALTER TABLE ... ORDER BY Docs/manual.texi: Updated from user comments sql/ha_berkeley.cc: Fixed wrong cast sql/hostname.cc: Added new mutex for hostname lookup sql/sql_table.cc: Added free of io_cache when using ALTER TABLE ... ORDER BY
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 3e1a0eb9fa1..a666fa26545 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -1690,6 +1690,7 @@ copy_data_between_tables(TABLE *from,TABLE *to,
found_count++;
}
end_read_record(&info);
+ free_io_cache(from);
delete [] copy;
uint tmp_error;
if ((tmp_error=to->file->extra(HA_EXTRA_NO_CACHE)))