diff options
author | monty@mysql.com <> | 2005-11-05 13:20:35 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2005-11-05 13:20:35 +0200 |
commit | cdf64f0f5724077d58158ecc8894cfff85dbc9c0 (patch) | |
tree | 460c9bc04fe66682e1873d2b1e848a224ae7eb8d /sql/records.cc | |
parent | a6f5375cb0cb40055f52e92d20ca04233ce70386 (diff) | |
download | mariadb-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.cc | 2 |
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 */ |