Use of boost::make_shared in mysql