Well, I only removed the code generating the tablespace SQL, which wasn't used anywhere later in the method. I guess this only got in here by mistake when copy-pasting from anoher method (probably the one where the index is created). It was basically dead code.