modfiedSQL = fixSQL(sql);
}
while (modfiedSQL != null) {
try {
final StatementImpl stmt = connection.createStatement();
executionFuture = stmt.submitExecute(modfiedSQL);
executionFuture.addCompletionListener(new ResultsFuture.CompletionListener<Boolean>() {
@Override
public void onCompletion(ResultsFuture<Boolean> future) {
executionFuture = null;
try {