MySQL 8.0.29
Source Code Documentation
print_utils.cc File Reference
#include "sql/join_optimizer/print_utils.h"
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#include <algorithm>
#include <string>
#include <vector>
#include "sql/item_cmpfunc.h"
#include "sql/join_optimizer/relational_expression.h"
#include "sql/mem_root_array.h"

Functions

std::string StringPrintf (const char *fmt,...)
 Like sprintf, but returns an std::string. More...
 
std::string GenerateExpressionLabel (const RelationalExpression *expr)
 

Function Documentation

◆ GenerateExpressionLabel()

std::string GenerateExpressionLabel ( const RelationalExpression expr)

◆ 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.