Switched back to sp_xxx calls - wrapper may be used with LD_PRELOAD.