An import of sysbench bzr to add libAttachSQL support to