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

parent 5bbb5c29
...@@ -3061,10 +3061,13 @@ int ha_ndbcluster::end_bulk_insert() ...@@ -3061,10 +3061,13 @@ 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);
} }
else
{
int res= trans->restart(); int res= trans->restart();
DBUG_ASSERT(res == 0); DBUG_ASSERT(res == 0);
} }
} }
}
m_rows_inserted= (ha_rows) 0; m_rows_inserted= (ha_rows) 0;
m_rows_to_insert= (ha_rows) 1; m_rows_to_insert= (ha_rows) 1;
......
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