Call-time pass-by-reference has been removed
Blindly change MySQL function because it's deprecated
Replace deprecated function