silverp1/pb — pull request #85 by buhman (2014-12-22 01:34:01+00:00)
Title: sha1 paste

Requires #84.

Fixes #77.

Needs:

```sql
DELIMITER @@

DROP PROCEDURE IF EXISTS paste_get_content_digest@@
CREATE PROCEDURE paste_get_content_digest (
p_digest BINARY(20),
OUT p_content MEDIUMBLOB
)
BEGIN
SELECT content INTO p_content
FROM paste
WHERE digest = p_digest;
END;
@@
```