[BUGFIX] Fix return value of DatabaseConnection::sql_free_result()