Commit 50279e85 authored by Marko Mäkelä's avatar Marko Mäkelä

dtuple_t::trim(): Relax a too strict assertion

parent c1741f2d
......@@ -51,7 +51,8 @@ inserted or updated.
@param[in] index index possibly with instantly added columns */
void dtuple_t::trim(const dict_index_t& index)
{
ut_ad(n_fields == index.n_fields);
ut_ad(n_fields >= index.n_core_fields);
ut_ad(n_fields <= index.n_fields);
ut_ad(index.is_instant());
ulint i = n_fields;
......
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