add middle_truncate option
skip middle_truncate for multiple-selects