FoundationDB/sql-layer — pull request #1446 by nathanlws (2014-09-05 12:55:14+00:00)
Title: Unwrap SQLException when checking if error is retryable

And switch utf8_bin to ucs_binary so it is actually testing what it thinks it is (interestingly, shaves off about 1s per getCount() invocation).