summaryrefslogtreecommitdiff
path: root/sql/records.cc
diff options
context:
space:
mode:
authormonty@tik.mysql.fi <>2002-04-12 21:35:46 +0300
committermonty@tik.mysql.fi <>2002-04-12 21:35:46 +0300
commit056175a1ceb182828fb0fb7e40feac10f09ff3a0 (patch)
tree0060cbed8a1f7a8adaca0a4dc2e74b3372e28361 /sql/records.cc
parente857f561fd2fc2e544cba9508884c539ee789b05 (diff)
downloadmariadb-git-056175a1ceb182828fb0fb7e40feac10f09ff3a0.tar.gz
Update for BTREE keys in HEAP tables
Split handler->option_flag() to handler->table_flags() and handler->index_flags()
Diffstat (limited to 'sql/records.cc')
-rw-r--r--sql/records.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/records.cc b/sql/records.cc
index f156fdaf406..29ace3cd652 100644
--- a/sql/records.cc
+++ b/sql/records.cc
@@ -102,7 +102,7 @@ void init_read_record(READ_RECORD *info,THD *thd, TABLE *table,
(int) table->reginfo.lock_type <= (int) TL_READ_HIGH_PRIORITY ||
!(table->db_options_in_use & HA_OPTION_PACK_RECORD) ||
(use_record_cache < 0 &&
- !(table->file->option_flag() & HA_NOT_DELETE_WITH_CACHE)))
+ !(table->file->table_flags() & HA_NOT_DELETE_WITH_CACHE)))
VOID(table->file->extra(HA_EXTRA_CACHE)); // Cache reads
}
DBUG_VOID_RETURN;