Update lib/sql to latest master

Enhance security by fully qualifying call to CDB_UserDataSize from
quota trigger