diff options
author | unknown <heikki@hundin.mysql.fi> | 2003-12-12 08:09:25 +0200 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2003-12-12 08:09:25 +0200 |
commit | d0f757c063f3bc16ee56d39c88bb371ddfdfd7d7 (patch) | |
tree | 4242f445d3425b30ffe3d0e6d6cb142a42811fa6 | |
parent | fb9467a75159357d9c41faa4efed37c455bc56e5 (diff) | |
download | mariadb-git-d0f757c063f3bc16ee56d39c88bb371ddfdfd7d7.tar.gz |
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
-rw-r--r-- | innobase/include/row0upd.h | 4 | ||||
-rw-r--r-- | innobase/row/row0upd.c | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/innobase/include/row0upd.h b/innobase/include/row0upd.h index 174f1158ea4..dd989982743 100644 --- a/innobase/include/row0upd.h +++ b/innobase/include/row0upd.h @@ -123,8 +123,8 @@ row_upd_changes_field_size_or_external( /* out: TRUE if the update changes the size of some field in index or the field is external in rec or update */ - rec_t* rec, /* in: record in clustered index */ - dict_index_t* index, /* in: clustered index */ + rec_t* rec, /* in: record in index */ + dict_index_t* index, /* in: index */ upd_t* update);/* in: update vector */ /*************************************************************** Replaces the new column values stored in the update vector to the record diff --git a/innobase/row/row0upd.c b/innobase/row/row0upd.c index 3de0a4019d1..e3725c8b39e 100644 --- a/innobase/row/row0upd.c +++ b/innobase/row/row0upd.c @@ -361,8 +361,8 @@ row_upd_changes_field_size_or_external( /* out: TRUE if the update changes the size of some field in index or the field is external in rec or update */ - rec_t* rec, /* in: record in clustered index */ - dict_index_t* index, /* in: clustered index */ + rec_t* rec, /* in: record in index */ + dict_index_t* index, /* in: index */ upd_t* update) /* in: update vector */ { upd_field_t* upd_field; @@ -372,8 +372,6 @@ row_upd_changes_field_size_or_external( ulint n_fields; ulint i; - ut_ad(index->type & DICT_CLUSTERED); - n_fields = upd_get_n_fields(update); for (i = 0; i < n_fields; i++) { |