FoundationDB/sql-layer — pull request #1075 by MMcM (2013-11-24 19:29:38+00:00)
Title:  Add TO_BASE64 and FROM_BASE64 functions. 

Also, while I was looking for templates, I noticed two issues with HEX & UNHEX, which are included:
* Max VARBINARY is 65K, not 65.
* Abstract class was defined but never extended because all the inner classes derive fresh from TScalarBase.