Add latest i10n SQL functions from svn of old style