Fixed issue #1566 about new 'transactional' SQL command