MySQL 9.6.0
Source Code Documentation
oom_test.h File Reference

Experimental API header. More...

Go to the source code of this file.

Namespaces

namespace  mysql
 
namespace  mysql::debugging
 

Functions

template<std::invocable< mysql::allocators::Memory_resource > Initializer_t, std::invocable Function_t>
int mysql::debugging::oom_test (const Initializer_t &initialize, const Function_t &function)
 Repeatedly call function(). More...
 
template<class Object_t >
int mysql::debugging::oom_test_copyable_object (const Object_t &object, std::invocable< Object_t & > auto function)
 Repeatedly construct copies of object and call function(copy). More...
 
template<class Object_t >
int mysql::debugging::oom_test_assignable_object (const Object_t &object, std::invocable< Object_t & > auto function)
 Repeatedly construct copies of object and call function(copy). More...
 

Detailed Description

Experimental API header.