fix datamapper sqlite adapter truncation

also test it