Commit 9fa14c49 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

for 3441, fix bug on mainline

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@30247 c7de825b-a66e-492c-adef-691d508d4ae1
parent 4115647c
...@@ -7678,7 +7678,7 @@ bool columns_have_default_null_blobs( ...@@ -7678,7 +7678,7 @@ bool columns_have_default_null_blobs(
for (u_int32_t i = 0; i < num_changed_columns; i++) { for (u_int32_t i = 0; i < num_changed_columns; i++) {
Field* curr_field = table->field[changed_columns[i]]; Field* curr_field = table->field[changed_columns[i]];
TOKU_TYPE field_type = mysql_to_toku_type (curr_field); 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; retval = false;
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