fixed automatic transaction generation in BATCH mode for external tables
- added missing line from previous commit