TAJO-1259: Change tsql history behavior. (Jaewoong Jung via hyunsik)

Closes #316