O erro estava no comando LOAD DATA. Estava faltando um caractere de nova linha.
Deveria ter ficado:
LOAD DATA LOCAL INFILE "TopicInfileText2.dat" INTO TABLE
Topic LINES TERMINATED BY "END-OF-THE-LINE\n";
LOAD DATA LOCAL INFILE "TopicInfileText2.dat" INTO TABLE
Topic LINES TERMINATED BY "END-OF-THE-LINE\n";