Commit c4518db6 authored by marko's avatar marko

branches/zip: innobase_col_to_mysql(): Replace the undefined variable "templ"

with "col" in two debug assertions.  This mistake was made in r1910.
parent 098c5b4d
...@@ -80,8 +80,8 @@ innobase_col_to_mysql( ...@@ -80,8 +80,8 @@ innobase_col_to_mysql(
#ifdef UNIV_DEBUG #ifdef UNIV_DEBUG
case DATA_MYSQL: case DATA_MYSQL:
ut_ad(flen >= len); ut_ad(flen >= len);
ut_ad(col->mbmaxlen >= templ->mbminlen); ut_ad(col->mbmaxlen >= col->mbminlen);
ut_ad(col->mbmaxlen > templ->mbminlen || flen == len); ut_ad(col->mbmaxlen > col->mbminlen || flen == len);
memcpy(dest, data, len); memcpy(dest, data, len);
break; break;
......
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