Update functions.cpp

The mysql.close() function will now return true instead of the handle id.