silverp1/pb — pull request #17 by buhman (2014-12-03 03:39:57+00:00)
Title: add length/sum stat

Needs:

```sql
DELIMITER @@
DROP PROCEDURE IF EXISTS get_stats@@
CREATE PROCEDURE get_stats (
OUT p_count INT,
OUT p_length INT
)
BEGIN
SELECT COUNT(*), SUM(LENGTH(content)) INTO p_count, p_length
FROM paste;
END;
@@
```