MySQL 8.0.40
Source Code Documentation
print_utils.h File Reference
#include "my_compiler.h"
#include "sql/item.h"
#include <string>

Go to the source code of this file.

Functions

std::string StringPrintf (const char *fmt,...)
 Like sprintf, but returns an std::string. More...
 
template<class T >
std::string ItemsToString (const T &items)
 
std::string GenerateExpressionLabel (const RelationalExpression *expr)
 

Function Documentation

◆ GenerateExpressionLabel()

std::string GenerateExpressionLabel ( const RelationalExpression expr)

◆ ItemsToString()

template<class T >
std::string ItemsToString ( const T &  items)

◆ StringPrintf()

std::string StringPrintf ( const char *  fmt,
  ... 
)

Like sprintf, but returns an std::string.

This is not the most efficient of formatting functions, but it is only intended for debugging/tracing use.