Browse Source

branches/zip: page_zip_fields_decode(): Set index->type to DICT_CLUSTERED

if and only if the records on the page contain a trx_id column.
(Dummy indexes of non-leaf pages will always show up as non-clustered.)
pull/73/head
marko 20 years ago
parent
commit
63879526d8
  1. 2
      page/page0zip.c

2
page/page0zip.c

@ -1148,6 +1148,8 @@ page_zip_fields_decode(
if (!val) {
val = ULINT_UNDEFINED;
} else {
index->type = DICT_CLUSTERED;
}
*trx_id_col = val;

Loading…
Cancel
Save