for 3441, fix bug on mainline

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@30247 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Zardosht Kasheff 2013-04-17 00:02:05 -04:00 committed by Yoni Fogel
parent dd17fe0616
commit 4128cb5016

View file

@ -7678,7 +7678,7 @@ bool columns_have_default_null_blobs(
for (u_int32_t i = 0; i < num_changed_columns; i++) {
Field* curr_field = table->field[changed_columns[i]];
TOKU_TYPE field_type = mysql_to_toku_type (curr_field);
if (field_type == toku_type_blob && !is_column_default_null(table,i)) {
if (field_type == toku_type_blob && !is_column_default_null(table,changed_columns[i])) {
retval = false;
break;
}