Bug #17081 "LOAD DATA INFILE" may not load all the data

parent 5bbb5c29
...@@ -3061,8 +3061,11 @@ int ha_ndbcluster::end_bulk_insert() ...@@ -3061,8 +3061,11 @@ int ha_ndbcluster::end_bulk_insert()
no_uncommitted_rows_execute_failure(); no_uncommitted_rows_execute_failure();
my_errno= error= ndb_err(trans); my_errno= error= ndb_err(trans);
} }
int res= trans->restart(); else
DBUG_ASSERT(res == 0); {
int res= trans->restart();
DBUG_ASSERT(res == 0);
}
} }
} }
......
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