mysql/test/common/creation/create_diagnostics.hpp
Ruben Perez ed007e31ae Multi-resultset
Added support for running stored procedures that SELECT data
Added support for running multiple semicolon-separated queries
Added support for running stored procedures with OUT params
Added resultset and resultset_view
Fixed documentation typos and wording
Refactored object creation in tests

Close #133
Close #132
Close #8
2023-03-31 00:44:46 +02:00

32 lines
776 B
C++

//
// Copyright (c) 2019-2023 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_MYSQL_TEST_COMMON_CREATION_CREATE_DIAGNOSTICS_HPP
#define BOOST_MYSQL_TEST_COMMON_CREATION_CREATE_DIAGNOSTICS_HPP
#include <boost/mysql/diagnostics.hpp>
#include <boost/mysql/string_view.hpp>
#include <boost/mysql/detail/auxiliar/access_fwd.hpp>
namespace boost {
namespace mysql {
namespace test {
inline diagnostics create_diagnostics(string_view s)
{
diagnostics res;
detail::diagnostics_access::assign(res, s);
return res;
}
} // namespace test
} // namespace mysql
} // namespace boost
#endif