Commit d0f757c0 authored by unknown's avatar unknown

row0upd.h, row0upd.c:

  Remove wrong debug assertion and comment


innobase/row/row0upd.c:
  Remove wrong debug assertion and comment
innobase/include/row0upd.h:
  Remove wrong debug assertion and comment
parent fb9467a7
...@@ -123,8 +123,8 @@ row_upd_changes_field_size_or_external( ...@@ -123,8 +123,8 @@ row_upd_changes_field_size_or_external(
/* out: TRUE if the update changes the size of /* out: TRUE if the update changes the size of
some field in index or the field is external some field in index or the field is external
in rec or update */ in rec or update */
rec_t* rec, /* in: record in clustered index */ rec_t* rec, /* in: record in index */
dict_index_t* index, /* in: clustered index */ dict_index_t* index, /* in: index */
upd_t* update);/* in: update vector */ upd_t* update);/* in: update vector */
/*************************************************************** /***************************************************************
Replaces the new column values stored in the update vector to the record Replaces the new column values stored in the update vector to the record
......
...@@ -361,8 +361,8 @@ row_upd_changes_field_size_or_external( ...@@ -361,8 +361,8 @@ row_upd_changes_field_size_or_external(
/* out: TRUE if the update changes the size of /* out: TRUE if the update changes the size of
some field in index or the field is external some field in index or the field is external
in rec or update */ in rec or update */
rec_t* rec, /* in: record in clustered index */ rec_t* rec, /* in: record in index */
dict_index_t* index, /* in: clustered index */ dict_index_t* index, /* in: index */
upd_t* update) /* in: update vector */ upd_t* update) /* in: update vector */
{ {
upd_field_t* upd_field; upd_field_t* upd_field;
...@@ -372,8 +372,6 @@ row_upd_changes_field_size_or_external( ...@@ -372,8 +372,6 @@ row_upd_changes_field_size_or_external(
ulint n_fields; ulint n_fields;
ulint i; ulint i;
ut_ad(index->type & DICT_CLUSTERED);
n_fields = upd_get_n_fields(update); n_fields = upd_get_n_fields(update);
for (i = 0; i < n_fields; i++) { for (i = 0; i < n_fields; i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment