summaryrefslogtreecommitdiff
path: root/sql/records.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-11-05 13:20:35 +0200
committermonty@mysql.com <>2005-11-05 13:20:35 +0200
commitcdf64f0f5724077d58158ecc8894cfff85dbc9c0 (patch)
tree460c9bc04fe66682e1873d2b1e848a224ae7eb8d /sql/records.cc
parenta6f5375cb0cb40055f52e92d20ca04233ce70386 (diff)
downloadmariadb-git-cdf64f0f5724077d58158ecc8894cfff85dbc9c0.tar.gz
Fix of crashed 5.1 tree (wrong merge + wrong pullout patch forced us to create a new 5.1 tree)
This is a merge of 5.0 -> 5.1 + some code from old 5.1 tree to get all tests to work and keep the .frm format the same as the old 5.1 tree.
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 4958e39a5a0..ff0185195b0 100644
--- a/sql/records.cc
+++ b/sql/records.cc
@@ -65,7 +65,7 @@ void init_read_record_idx(READ_RECORD *info, THD *thd, TABLE *table,
table->status=0; /* And it's always found */
if (!table->file->inited)
{
- table->file->ha_index_init(idx);
+ table->file->ha_index_init(idx, 1);
table->file->extra(HA_EXTRA_RETRIEVE_PRIMARY_KEY);
}
/* read_record will be changed to rr_index in rr_index_first */