fixed bugs related to rollback and primary key length
22 files changed